diff --git a/notification-daemon-clipping.patch b/notification-daemon-clipping.patch new file mode 100644 index 0000000..9845eed --- /dev/null +++ b/notification-daemon-clipping.patch @@ -0,0 +1,21 @@ +Index: notification-daemon/src/themes/standard/theme.c +=================================================================== +--- notification-daemon/src/themes/standard/theme.c (revision 3009) ++++ notification-daemon/src/themes/standard/theme.c (working copy) +@@ -610,7 +610,6 @@ create_notification(UrlClickedCb url_cli + 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); + + g_object_set_data_full(G_OBJECT(win), "windata", windata, + (GDestroyNotify)destroy_windata); +@@ -812,7 +811,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); diff --git a/notification-daemon.spec b/notification-daemon.spec index 6f6a86c..de7e2f0 100644 --- a/notification-daemon.spec +++ b/notification-daemon.spec @@ -1,14 +1,14 @@ %define gtk2_version 2.4.0 %define dbus_version 0.90 %define dbus_glib_version 0.70 -%define gconf_version 2.14 +%define gconf_version 2.14 %define wnck_version 2.19.3 -Summary: Notification Daemon +Summary: Notification Daemon Name: notification-daemon Version: 0.3.7 -Release: 8%{?dist} -URL: http://www.galago-project.org/specs/notification/ +Release: 9%{?dist} +URL: http://www.galago-project.org/specs/notification/ License: GPLv2+ Group: System Environment/Libraries Provides: desktop-notification-daemon @@ -34,21 +34,23 @@ Obsoletes: notify-daemon Source0: http://www.galago-project.org/files/releases/source/notification-daemon/%{name}-%{version}.tar.bz2 Patch0: notification-daemon-0.3.5-remove-libsexy.patch Patch1: notification-daemon-0.3.7-summary-markup.patch +Patch2: notification-daemon-clipping.patch %description -notification-daemon is the server implementation of the freedesktop.org desktop -notification specification. +notification-daemon is the server implementation of the freedesktop.org desktop +notification specification. %prep %setup -q %patch0 -p1 -b .remove-libsexy %patch1 -p1 -b .summary-markup +%patch2 -p1 -b .clipping %build autoreconf automake intltoolize --force -%configure --disable-static +%configure --disable-static make %install @@ -95,6 +97,9 @@ gconftool-2 --makefile-install-rule \ %config %{_sysconfdir}/gconf/schemas/notification-daemon.schemas %changelog +* Sun Apr 6 2008 Jon McCann - 0.3.7-9 +- Don't clip text in message bubbles (#441099) + * Mon Feb 18 2008 Fedora Release Engineering - 0.3.7-8 - Autorebuild for GCC 4.3