notification-daemon-01-resize.diff revision 15346
diff -up notification-daemon-0.3.7/src/themes/standard/theme.c.orig notification-daemon-0.3.7/src/themes/standard/theme.c
--- notification-daemon-0.3.7/src/themes/standard/theme.c.orig 2007-01-26 04:20:15.000000000 +0000
+++ notification-daemon-0.3.7/src/themes/standard/theme.c 2008-11-12 13:58:39.774757522 +0000
@@ -883,11 +883,10 @@ set_notification_text(GtkWindow *nw, con
update_content_hbox_visibility(windata);
- gtk_widget_set_size_request(
- ((body != NULL && *body == '\0')
- ? windata->body_label : windata->summary_label),
- WIDTH - (IMAGE_SIZE + IMAGE_PADDING) - 10,
- -1);
+ if (body != NULL && *body == '\0')
+ gtk_widget_set_size_request( windata->body_label, WIDTH - (IMAGE_SIZE + IMAGE_PADDING) - 10, -1);
+
+ gtk_widget_set_size_request( windata->summary_label, WIDTH - (IMAGE_SIZE + IMAGE_PADDING) - 50, -1);
}
void