gnome-power-manager r2560 - in branches/gnome-2-20: . src



Author: rhughes
Date: 2007-11-13 20:00:05 +0000 (Tue, 13 Nov 2007)
New Revision: 2560
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2560&view=rev

Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/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]