gnome-power-manager r2557 - in trunk: . src



Author: rhughes
Date: 2007-11-09 09:25:16 +0000 (Fri, 09 Nov 2007)
New Revision: 2557
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2557&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-button.c
Log:
2007-11-09  Richard Hughes  <richard hughsie com>

* src/gpm-button.c: (gpm_button_filter_x_events),
(gpm_button_grab_keystring), (gpm_button_button_key):
Properly process the GdkXEvent so we don't hide the GtkStatusIcon
when we compile with --enable-xevents.
The bug of icon not appearing happened because addition of
notification-area-applet generates an X Event for notification-manager
ownership change, and the bug in gpm_button_filter_x_events didn't allow
gtktrayicon-x11.c to see the event due to the propagation stopping from
GDK_FILTER_REMOVE being returned on all non-keypresses.
This is a slightly modied patch from Mart Raudsepp, many thanks.
Fixes #413360





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]