[Galago-commits] r2952 - in trunk/notification-daemon: . src/themes/standard

galago-commits at freedesktop.org galago-commits at freedesktop.org
Mon Nov 13 22:48:31 PST 2006


Author: chipx86
Date: 2006-11-13 22:48:23 -0800 (Mon, 13 Nov 2006)
New Revision: 2952

Modified:
   trunk/notification-daemon/ChangeLog
   trunk/notification-daemon/src/themes/standard/theme.c
Log:
- Make sure the default width is actually set on the notification.
- Increase the default width to 400px.


Modified: trunk/notification-daemon/ChangeLog
===================================================================
--- trunk/notification-daemon/ChangeLog	2006-11-14 05:48:35 UTC (rev 2951)
+++ trunk/notification-daemon/ChangeLog	2006-11-14 06:48:23 UTC (rev 2952)
@@ -1,3 +1,9 @@
+Mon Nov 13 22:47:42 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* src/themes/standard/theme.c:
+	  - Make sure the default width is actually set on the notification.
+	  - Increase the default width to 400px.
+
 Mon Nov 13 21:48:11 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	* src/daemon/stack.c:

Modified: trunk/notification-daemon/src/themes/standard/theme.c
===================================================================
--- trunk/notification-daemon/src/themes/standard/theme.c	2006-11-14 05:48:35 UTC (rev 2951)
+++ trunk/notification-daemon/src/themes/standard/theme.c	2006-11-14 06:48:23 UTC (rev 2952)
@@ -57,7 +57,7 @@
 	URGENCY_CRITICAL
 };
 
-#define WIDTH         300
+#define WIDTH         400
 #define IMAGE_SIZE    32
 #define IMAGE_PADDING 10
 #define STRIPE_WIDTH  30
@@ -485,6 +485,7 @@
 	gtk_window_set_title(GTK_WINDOW(win), "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);
 
 	g_object_set_data_full(G_OBJECT(win), "windata", windata,
 						   (GDestroyNotify)destroy_windata);



More information about the galago-commits mailing list