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

Brian J. Tarricone bjt23 at cornell.edu
Thu Jun 16 22:04:48 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olivier Fourdan wrote:
> Hey Jasper,
> 
> That was one the greatest thing in Xfce launcher.... :(

Really?  It annoyed the hell out of me...

	-brian


> 
> 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
>>
> 
> 
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCsdtg6XyW6VEeAnsRAut5AKDOkrehJCvkq1VKxnHSv1URL6TT8wCgnN7m
KRfcg773cjyLCJLbeInoPFs=
=Laa9
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list