[Galago-commits] r2945 - in trunk/notification-daemon: .
src/themes/standard
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Thu Nov 9 16:35:58 PST 2006
Author: chipx86
Date: 2006-11-09 16:35:50 -0800 (Thu, 09 Nov 2006)
New Revision: 2945
Modified:
trunk/notification-daemon/ChangeLog
trunk/notification-daemon/NEWS
trunk/notification-daemon/src/themes/standard/theme.c
Log:
Clicking anywhere in a notification should now close the notification. This was happening only on the body text sometimes.
Modified: trunk/notification-daemon/ChangeLog
===================================================================
--- trunk/notification-daemon/ChangeLog 2006-11-10 00:34:31 UTC (rev 2944)
+++ trunk/notification-daemon/ChangeLog 2006-11-10 00:35:50 UTC (rev 2945)
@@ -1,3 +1,10 @@
+Thu Nov 09 16:35:34 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * src/themes/standard/theme.c:
+ * NEWS:
+ - Clicking anywhere in a notification should now close the notification.
+ This was happening only on the body text sometimes.
+
Thu Nov 09 16:34:03 PST 2006 Christian Hammond <chipx86 at chipx86.com>
* src/themes/standard/theme.c:
Modified: trunk/notification-daemon/NEWS
===================================================================
--- trunk/notification-daemon/NEWS 2006-11-10 00:34:31 UTC (rev 2944)
+++ trunk/notification-daemon/NEWS 2006-11-10 00:35:50 UTC (rev 2945)
@@ -3,6 +3,8 @@
(Bug #95)
* Fix several rendering glitches with the borders in the standard theme.
* Added initial accessibility support with the standard theme engine.
+ * Clicking anywhere in a notification should now close the notification.
+ This was happening only on the body text sometimes.
version 0.3.6 (8-October-2006):
* Added a GConf key to allow users to specify which corner of the screen
Modified: trunk/notification-daemon/src/themes/standard/theme.c
===================================================================
--- trunk/notification-daemon/src/themes/standard/theme.c 2006-11-10 00:34:31 UTC (rev 2944)
+++ trunk/notification-daemon/src/themes/standard/theme.c 2006-11-10 00:35:50 UTC (rev 2945)
@@ -431,7 +431,7 @@
win = gtk_window_new(GTK_WINDOW_POPUP);
windata->win = win;
gtk_window_set_title(GTK_WINDOW(win), "Notification");
- gtk_widget_add_events(win, GDK_BUTTON_RELEASE_MASK);
+ gtk_widget_add_events(win, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
gtk_widget_realize(win);
g_object_set_data_full(G_OBJECT(win), "windata", windata,
More information about the galago-commits
mailing list