rpms/gnome-power-manager/devel gnome-power-manager-2.13.92-action-warning-type.patch, NONE, 1.1 gnome-power-manager.spec, 1.27, 1.28

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 2 17:19:33 UTC 2006


Author: rstrode

Update of /cvs/dist/rpms/gnome-power-manager/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12856

Modified Files:
	gnome-power-manager.spec 
Added Files:
	gnome-power-manager-2.13.92-action-warning-type.patch 
Log Message:
- Add patch from Richard Hughes to potentially fix a
  crasher bug (bug 183127)


gnome-power-manager-2.13.92-action-warning-type.patch:
 gpm-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE gnome-power-manager-2.13.92-action-warning-type.patch ---
--- gnome-power-manager-2.13.92/src/gpm-manager.c	26 Feb 2006 13:18:28 -0000	1.73
+++ gnome-power-manager-2.13.92/src/gpm-manager.c	27 Feb 2006 12:50:24 -0000
@@ -1109,7 +1109,8 @@
 {
 	char *title = NULL;
 
-	if (warning_type == GPM_WARNING_CRITICAL) {
+	if (warning_type == GPM_WARNING_ACTION ||
+	    warning_type == GPM_WARNING_CRITICAL) {
 
 		title = _("Power Critically Low");


Index: gnome-power-manager.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-power-manager/devel/gnome-power-manager.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- gnome-power-manager.spec	28 Feb 2006 16:13:48 -0000	1.27
+++ gnome-power-manager.spec	2 Mar 2006 17:19:31 -0000	1.28
@@ -5,7 +5,7 @@
 Summary: GNOME Power Manager
 Name: gnome-power-manager
 Version: 2.13.92
-Release: 2
+Release: 3
 License: GPL
 Group: Applications/System
 Source: gnome-power-manager-%{version}.tar.bz2
@@ -26,6 +26,8 @@
 Requires: dbus-x11 >= %{dbus_version}
 Requires: scrollkeeper
 
+Patch0: gnome-power-manager-2.13.92-action-warning-type.patch
+
 %description
 GNOME Power Manager uses the information and facilities provided by HAL 
 displaying icons and handling user callbacks in an interactive GNOME session. 
@@ -34,6 +36,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .action-warning-type
 
 %build
 %configure --disable-scrollkeeper --disable-actions-menu
@@ -80,6 +83,10 @@
 %{_datadir}/applications/gnome-power-preferences.desktop
 
 %changelog
+* Thu Mar  2 2006 Ray Strode <rstrode at redhat.com> - 2.13.92-3
+- Add patch from Richard Hughes to potentially fix a
+  crasher bug (bug 183127)
+
 * Tue Feb 28 2006 Karsten Hopp <karsten at redhat.de> 2.13.92-2
 - Buildrequires: gnome-doc-utils
 




More information about the fedora-cvs-commits mailing list