[Xfce4-commits] r16004 - xfce4-panel/trunk/plugins/launcher

Olivier Fourdan fourdan at xfce.org
Thu Jun 16 21:58:43 CEST 2005


Hey Jasper,

That was one the greatest thing in Xfce launcher.... :(

Too bad.

Cheers,
Olivier.

On Thu, 2005-06-16 at 19:21 +0000, Jasper Huysmans wrote:
> Author: jasper
> Date: 2005-06-16 19:21:50 +0000 (Thu, 16 Jun 2005)
> New Revision: 16004
> 
> Modified:
>    xfce4-panel/trunk/plugins/launcher/launcher.c
> Log:
> Remove launcher insensitivity after executing. Doesn't work properly if you leave the mouse over the button. Too much hassle to find the cause.
> 
> Modified: xfce4-panel/trunk/plugins/launcher/launcher.c
> ===================================================================
> --- xfce4-panel/trunk/plugins/launcher/launcher.c	2005-06-16 19:18:08 UTC (rev 16003)
> +++ xfce4-panel/trunk/plugins/launcher/launcher.c	2005-06-16 19:21:50 UTC (rev 16004)
> @@ -100,25 +100,6 @@
>      return g_strdup (s);
>  }
>  
> -/* prevent users from clicking twice because of slow app start */
> -static gboolean set_sensitive_cb (GtkWidget *button)
> -{
> -    if (GTK_IS_WIDGET (button))
> -        gtk_widget_set_sensitive (button, TRUE);
> -    
> -    return FALSE;
> -}
> -
> -static void
> -after_exec_insensitive (GtkWidget *button)
> -{
> -    gtk_widget_set_sensitive (button, FALSE);
> -    
> -    g_timeout_add (INSENSITIVE_TIMEOUT, 
> -                   (GSourceFunc) set_sensitive_cb, button);
> -}
> -
> -
>  /* Plugin interface *
>   * ---------------- */
>  
> @@ -760,8 +741,6 @@
>          return;
>  
>      entry_drop_cb (launcher->entry, data);
> -    
> -    after_exec_insensitive (launcher->iconbutton);
>  }
>  
>  static void
> @@ -829,7 +808,6 @@
>      }
>  
>      entry_exec (launcher->entry);
> -    after_exec_insensitive (w);
>  }
>  
>  static Launcher *
> 
> _______________________________________________
> Xfce4-commits mailing list
> Xfce4-commits at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-commits
> 





More information about the Xfce4-dev mailing list