From 0822e01b36eae73d9ceae0b1f82a697300ae5f77 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 12 Nov 2009 14:06:37 +0000 Subject: [PATCH] avoid whitespace leak in the notification area --- gnome-settings-daemon.spec | 10 ++++++++-- iconleak.patch | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 iconleak.patch diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index 90b8b5a..c99eeb4 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.28.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -45,6 +45,8 @@ Patch4: 0001-Fix-bluriness-in-level-bar-and-popup.patch Patch5: 0001-Avoid-volumes-going-over-100.patch # https://bugzilla.gnome.org/show_bug.cgi?id=601203 Patch6: gsd-screen-changed.patch +# +Patch7: iconleak.patch %description A daemon to share settings from GNOME to other applications. It also @@ -70,6 +72,7 @@ developing applications that use %{name}. %patch3 -p1 -b .slight-hinting %patch5 -p1 -b .too-high-volume %patch6 -p1 -b .screen-change +%patch7 -p1 -b .iconleak %build %configure --enable-static=no --enable-profiling --disable-esd @@ -181,8 +184,11 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Thu Nov 12 2009 Matthias Clasen 2.28.1-8 +- Avoid a 'whitespace leak' around the display statusicon (gnome #601696) + * Mon Nov 9 2009 Matthias Clasen 2.28.1-7 -- React to screen changes when showing the background (gnome 601203) +- React to screen changes when showing the background (gnome #601203) * Thu Nov 05 2009 Bastien Nocera 2.28.1-6 - Fix the volume going over 100% in the OSD diff --git a/iconleak.patch b/iconleak.patch new file mode 100644 index 0000000..dee97f1 --- /dev/null +++ b/iconleak.patch @@ -0,0 +1,11 @@ +diff -up gnome-settings-daemon-2.28.1/plugins/xrandr/gsd-xrandr-manager.c.iconleak gnome-settings-daemon-2.28.1/plugins/xrandr/gsd-xrandr-manager.c +--- gnome-settings-daemon-2.28.1/plugins/xrandr/gsd-xrandr-manager.c.iconleak 2009-11-12 08:56:48.161916233 -0500 ++++ gnome-settings-daemon-2.28.1/plugins/xrandr/gsd-xrandr-manager.c 2009-11-12 08:54:15.374916024 -0500 +@@ -1792,6 +1792,7 @@ status_icon_stop (GsdXrandrManager *mana + priv->status_icon, G_CALLBACK (status_icon_activate_cb), manager); + g_signal_handlers_disconnect_by_func ( + priv->status_icon, G_CALLBACK (status_icon_popup_menu_cb), manager); ++ gtk_status_icon_set_visible (priv->status_icon, FALSE); + g_object_unref (priv->status_icon); + priv->status_icon = NULL; + }