summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-11-20 14:48:20 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-11-20 14:48:20 +0000
commit6831c486d1f4bdc1c53439c6504d55be10295ee0 (patch)
tree9814df34ddb6169be6ce6fc8814e3517e6989226 /x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch
parentAdditional dependencies with USE=doc, bug 247703. (diff)
downloadhistorical-6831c486d1f4bdc1c53439c6504d55be10295ee0.tar.gz
historical-6831c486d1f4bdc1c53439c6504d55be10295ee0.tar.bz2
historical-6831c486d1f4bdc1c53439c6504d55be10295ee0.zip
upstream fix for handling line wrapping for lines longer then 50 characters but shorter then 65
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64
Diffstat (limited to 'x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch')
-rw-r--r--x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch b/x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch
new file mode 100644
index 000000000000..a137549cc2f7
--- /dev/null
+++ b/x11-misc/notification-daemon/files/notification-daemon-0.3.7-line-wrapping.patch
@@ -0,0 +1,12 @@
+diff -up notification-daemon/src/themes/standard/theme.c.fix notification-daemon/src/themes/standard/theme.c
+--- a/notification-daemon/src/themes/standard/theme.c 2008-03-21 17:17:37.000000000 +0100
++++ b/notification-daemon/src/themes/standard/theme.c 2008-03-21 17:18:11.000000000 +0100
+@@ -812,7 +812,7 @@ set_notification_text(GtkWindow *nw, con
+ 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);