[Xfce4-commits] r25873 - in xfdesktop/branches/xfce_4_4: . src
Olivier Fourdan
olivier at xfce.org
Sun Jul 1 16:51:32 CEST 2007
Author: olivier
Date: 2007-07-01 14:51:32 +0000 (Sun, 01 Jul 2007)
New Revision: 25873
Modified:
xfdesktop/branches/xfce_4_4/NEWS
xfdesktop/branches/xfce_4_4/src/main.c
Log:
Always use button 0 in gtk_menu_popup() as GTK+ 2.11+ expects the same button to be pressed or it doesn't activate the entry (Bug #3359)
Modified: xfdesktop/branches/xfce_4_4/NEWS
===================================================================
--- xfdesktop/branches/xfce_4_4/NEWS 2007-07-01 07:08:05 UTC (rev 25872)
+++ xfdesktop/branches/xfce_4_4/NEWS 2007-07-01 14:51:32 UTC (rev 25873)
@@ -4,6 +4,8 @@
- Fixed the Italian xfdesktop menu causing a crash.
- Fix missing xfce_rc_close() causing memleak and too many open file
descriptors (bug 3065)
+- Always use button 0 in gtk_menu_popup() as GTK+ 2.11+ expects the
+ same button to be pressed or it doesn't activate the entry (Bug #3359)
4.4.1
=====
Modified: xfdesktop/branches/xfce_4_4/src/main.c
===================================================================
--- xfdesktop/branches/xfce_4_4/src/main.c 2007-07-01 07:08:05 UTC (rev 25872)
+++ xfdesktop/branches/xfce_4_4/src/main.c 2007-07-01 14:51:32 UTC (rev 25873)
@@ -178,7 +178,7 @@
popup_windowlist(gscreen, button, evt->time);
return TRUE;
} else if(button == 3 || (button == 1 && (state & GDK_SHIFT_MASK))) {
- popup_desktop_menu(gscreen, button, evt->time);
+ popup_desktop_menu(gscreen, 0, evt->time);
return TRUE;
}
}
More information about the Xfce4-commits
mailing list