Package: notification-daemon
Version: 0.3.7-1
Severity: normal

Hi,

In 

https://bugs.launchpad.net/ubuntu/+source/notification-daemon/+bug/40379

it was reported that the notification is sometimes to small to fit all
the text. A test for this is to run

notify-send "hi" "$(echo -e 'one two three four five six seven eight
nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen\none
two three four five six seven eight nine ten eleven twelve thirteen
fourteen fifteen sixteen seventeen')"

The attached patch was taken from

http://trac.galago-project.org/ticket/162

Please consider applying it.

Thanks,

James

diff -Nur -x '*.orig' -x '*~' notification-daemon-0.3.7/src/themes/standard/theme.c notification-daemon-0.3.7.new/src/themes/standard/theme.c
--- notification-daemon-0.3.7/src/themes/standard/theme.c	2007-01-26 04:20:15.000000000 +0000
+++ notification-daemon-0.3.7.new/src/themes/standard/theme.c	2008-04-04 13:12:08.000000000 +0100
@@ -884,7 +884,7 @@
 	update_content_hbox_visibility(windata);
 
 	gtk_widget_set_size_request(
-		((body != NULL && *body == '\0')
+		((body != NULL && *body != '\0')
 		 ? windata->body_label : windata->summary_label),
 		WIDTH - (IMAGE_SIZE + IMAGE_PADDING) - 10,
 		-1);

Reply via email to