avoid whitespace leak in the notification area

This commit is contained in:
Matthias Clasen 2009-11-12 14:06:37 +00:00
parent f6c39c7dd5
commit 0822e01b36
2 changed files with 19 additions and 2 deletions

View File

@ -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 <mclasen@redhat.com> 2.28.1-8
- Avoid a 'whitespace leak' around the display statusicon (gnome #601696)
* Mon Nov 9 2009 Matthias Clasen <mclasen@redhat.com> 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 <bnocera@redhat.com> 2.28.1-6
- Fix the volume going over 100% in the OSD

11
iconleak.patch Normal file
View File

@ -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;
}