[PATCH] xfdesktop: improve autohide with menu panel plugin (bug #266)

Jasper Huijsmans jasper at xfce.org
Wed Jul 21 15:46:43 CEST 2004


Hey brian,

This one-liner patch should fix bug 266. I would commit myself, but I can't
test it, because the plugin crashes :/ I have no time to investigate it now,
but will do so later.

In the mean time, perhaps you can test it and commit if it works for you.

cheers,
	Jasper
-------------- next part --------------
Index: panel-plugin/desktop-menu-plugin.c
===================================================================
RCS file: /var/cvs/xfce/xfce4/xfdesktop/panel-plugin/desktop-menu-plugin.c,v
retrieving revision 1.24
diff -u -r1.24 desktop-menu-plugin.c
--- panel-plugin/desktop-menu-plugin.c	20 Jul 2004 14:22:33 -0000	1.24
+++ panel-plugin/desktop-menu-plugin.c	21 Jul 2004 13:32:54 -0000
@@ -113,6 +113,7 @@
 
 	menu = xfce_desktop_menu_get_widget(dmp->desktop_menu);
 	if(menu) {
+		panel_register_open_menu (menu);
 		gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, evt->button,
 				evt->time);
 	}


More information about the Xfce4-dev mailing list