rpms/gnome-power-manager/devel spam.patch, NONE, 1.1 gnome-power-manager.spec, 1.178, 1.179

Matthias Clasen mclasen at fedoraproject.org
Fri Dec 18 15:17:39 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-power-manager/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14104

Modified Files:
	gnome-power-manager.spec 
Added Files:
	spam.patch 
Log Message:
Avoid warning messages at startup


spam.patch:
 gsd-media-keys-window.c |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE spam.patch ---
diff -up gnome-power-manager-2.28.2/src/gsd-media-keys-window.c.spam gnome-power-manager-2.28.2/src/gsd-media-keys-window.c
--- gnome-power-manager-2.28.2/src/gsd-media-keys-window.c.spam	2009-12-18 10:04:22.303109410 -0500
+++ gnome-power-manager-2.28.2/src/gsd-media-keys-window.c	2009-12-18 10:03:58.135359461 -0500
@@ -133,6 +133,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);
 


Index: gnome-power-manager.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-power-manager/devel/gnome-power-manager.spec,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -p -r1.178 -r1.179
--- gnome-power-manager.spec	8 Dec 2009 11:16:59 -0000	1.178
+++ gnome-power-manager.spec	18 Dec 2009 15:17:39 -0000	1.179
@@ -4,7 +4,7 @@
 Summary: GNOME power management service
 Name: gnome-power-manager
 Version: 2.29.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 #Release: 0.5.%{?alphatag}git%{?dist}
 License: GPLv2+ and GFDL
 Group: Applications/System
@@ -42,6 +42,9 @@ Requires(post): GConf2
 Requires(preun): GConf2
 Requires(postun): scrollkeeper
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=604918
+Patch0: spam.patch
+
 %description
 GNOME Power Manager uses the information and facilities provided by HAL
 displaying icons and handling user callbacks in an interactive GNOME session.
@@ -59,6 +62,7 @@ Extra GNOME power management application
 %prep
 %setup -q
 #%setup -q -n %{?name}-%{?version}-%{?alphatag}
+%patch0 -p1 -b .spam
 
 %build
 %configure \
@@ -178,6 +182,9 @@ fi
 %{_datadir}/icons/hicolor/*/apps/gnome-inhibit-applet.*
 
 %changelog
+* Fri Dec 18 2009 Matthias Clasen <mclasen at redhat.com> - 2.29.1-2
+- Avoid warning messages at startup
+
 * Tue Dec 08 2009 Richard Hughes  <rhughes at redhat.com> - 2.29.1-1
 - Update to 2.29.1
 - Remove upstreamed patches




More information about the scm-commits mailing list