[Galago-commits] r3001 - in trunk/notification-daemon: . src/themes/bubble src/themes/standard
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Tue Mar 18 20:56:26 PDT 2008
Author: chipx86
Date: 2008-03-18 20:56:25 -0700 (Tue, 18 Mar 2008)
New Revision: 3001
Modified:
trunk/notification-daemon/ChangeLog
trunk/notification-daemon/src/themes/bubble/eggnotificationbubblewidget.c
trunk/notification-daemon/src/themes/standard/theme.c
Log:
Patch by maniac to set the NOTIFICATION type hint for the notification windows. Fixes bug #161.
Modified: trunk/notification-daemon/ChangeLog
===================================================================
--- trunk/notification-daemon/ChangeLog 2008-03-19 03:52:11 UTC (rev 3000)
+++ trunk/notification-daemon/ChangeLog 2008-03-19 03:56:25 UTC (rev 3001)
@@ -1,3 +1,10 @@
+Tue Mar 18 20:55:27 PDT 2008 Christian Hammond <chipx86 at chipx86.com>
+
+ * src/themes/bubble/eggnotificationbubblewidget.c:
+ * src/themes/standard/theme.c:
+ - Patch by maniac to set the NOTIFICATION type hint for the notification
+ windows. Fixes bug #161.
+
Sat Aug 25 21:42:50 PDT 2007 Christian Hammond <chipx86 at chipx86.com>
* src/capplet/notification-properties.c:
Modified: trunk/notification-daemon/src/themes/bubble/eggnotificationbubblewidget.c
===================================================================
--- trunk/notification-daemon/src/themes/bubble/eggnotificationbubblewidget.c 2008-03-19 03:52:11 UTC (rev 3000)
+++ trunk/notification-daemon/src/themes/bubble/eggnotificationbubblewidget.c 2008-03-19 03:56:25 UTC (rev 3001)
@@ -1125,6 +1125,7 @@
{
return g_object_new (EGG_TYPE_NOTIFICATION_BUBBLE_WIDGET,
"type", GTK_WINDOW_POPUP,
+ "type-hint", GDK_WINDOW_TYPE_HINT_NOTIFICATION,
NULL);
}
Modified: trunk/notification-daemon/src/themes/standard/theme.c
===================================================================
--- trunk/notification-daemon/src/themes/standard/theme.c 2008-03-19 03:52:11 UTC (rev 3000)
+++ trunk/notification-daemon/src/themes/standard/theme.c 2008-03-19 03:56:25 UTC (rev 3001)
@@ -606,6 +606,8 @@
#endif
gtk_window_set_title(GTK_WINDOW(win), "Notification");
+ gtk_window_set_type_hint(GTK_WINDOW(win),
+ GDK_WINDOW_TYPE_HINT_NOTIFICATION);
gtk_widget_add_events(win, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
gtk_widget_realize(win);
gtk_widget_set_size_request(win, WIDTH, -1);
More information about the galago-commits
mailing list