avoid warning messages at startup
This commit is contained in:
parent
060eb85204
commit
e07ae8c383
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 2.28.1
|
Version: 2.28.1
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -50,6 +50,9 @@ Patch7: iconleak.patch
|
|||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=604651
|
# https://bugzilla.gnome.org/show_bug.cgi?id=604651
|
||||||
Patch8: survive-xmm.patch
|
Patch8: survive-xmm.patch
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=604918
|
||||||
|
Patch9: osd-spam.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A daemon to share settings from GNOME to other applications. It also
|
A daemon to share settings from GNOME to other applications. It also
|
||||||
handles global keybindings, as well as a number of desktop-wide settings.
|
handles global keybindings, as well as a number of desktop-wide settings.
|
||||||
@ -76,6 +79,7 @@ developing applications that use %{name}.
|
|||||||
%patch6 -p1 -b .screen-change
|
%patch6 -p1 -b .screen-change
|
||||||
%patch7 -p1 -b .iconleak
|
%patch7 -p1 -b .iconleak
|
||||||
%patch8 -p1 -b .survive-xmm
|
%patch8 -p1 -b .survive-xmm
|
||||||
|
%patch9 -p1 -b .osd-spam
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-static=no --enable-profiling --disable-esd
|
%configure --enable-static=no --enable-profiling --disable-esd
|
||||||
@ -187,6 +191,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 18 2009 Matthias Clasen <mclasen@redhat.com> 2.28.1-10
|
||||||
|
- Avoid warning messages from the OSD code
|
||||||
|
|
||||||
* Tue Dec 15 2009 Matthias Clasen <mclasen@redhat.com> 2.28.1-9
|
* Tue Dec 15 2009 Matthias Clasen <mclasen@redhat.com> 2.28.1-9
|
||||||
- Survive when running without XKB (#547780)
|
- Survive when running without XKB (#547780)
|
||||||
|
|
||||||
|
13
osd-spam.patch
Normal file
13
osd-spam.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up gnome-settings-daemon-2.28.1/plugins/media-keys/gsd-media-keys-window.c.spam gnome-settings-daemon-2.28.1/plugins/media-keys/gsd-media-keys-window.c
|
||||||
|
--- gnome-settings-daemon-2.28.1/plugins/media-keys/gsd-media-keys-window.c.spam 2009-12-18 10:32:07.722360259 -0500
|
||||||
|
+++ gnome-settings-daemon-2.28.1/plugins/media-keys/gsd-media-keys-window.c 2009-12-18 10:33:00.923109059 -0500
|
||||||
|
@@ -134,6 +134,9 @@ add_hide_timeout (GsdMediaKeysWindow *wi
|
||||||
|
static void
|
||||||
|
update_window (GsdMediaKeysWindow *window)
|
||||||
|
{
|
||||||
|
+ if (!gtk_widget_is_drawable (GTK_WIDGET (window)))
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
remove_hide_timeout (window);
|
||||||
|
add_hide_timeout (window);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user