rpms/system-config-printer/F-10 system-config-printer-statereason-icons.patch, NONE, 1.1 system-config-printer.spec, 1.245, 1.246

Tim Waugh twaugh at fedoraproject.org
Wed Aug 26 16:52:14 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/system-config-printer/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27469

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-statereason-icons.patch 
Log Message:
* Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-4
- Fixed statereason icon names.


system-config-printer-statereason-icons.patch:
 statereason.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE system-config-printer-statereason-icons.patch ---
diff -up system-config-printer-1.1.12/statereason.py.statereason-icons system-config-printer-1.1.12/statereason.py
--- system-config-printer-1.1.12/statereason.py.statereason-icons	2009-08-25 17:01:28.000000000 +0100
+++ system-config-printer-1.1.12/statereason.py	2009-08-26 17:43:19.368314303 +0100
@@ -28,9 +28,9 @@ class StateReason:
     ERROR=3
 
     LEVEL_ICON={
-        REPORT: "info",
-        WARNING: "important",
-        ERROR: "error"
+        REPORT: "dialog-info",
+        WARNING: "dialog-warning",
+        ERROR: "dialog-error"
         }
 
     def __init__(self, printer, reason):


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/F-10/system-config-printer.spec,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -p -r1.245 -r1.246
--- system-config-printer.spec	26 Aug 2009 12:16:40 -0000	1.245
+++ system-config-printer.spec	26 Aug 2009 16:52:14 -0000	1.246
@@ -7,7 +7,7 @@
 Summary: A printer administration tool
 Name: system-config-printer
 Version: 1.1.12
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 URL: http://cyberelk.net/tim/software/system-config-printer/
 Group: System Environment/Base
@@ -15,6 +15,7 @@ Source0: http://cyberelk.net/tim/data/sy
 Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
 Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
 Patch1: system-config-printer-get_cursor.patch
+Patch2: system-config-printer-statereason-icons.patch
 
 BuildRequires: cups-devel >= 1.2
 BuildRequires: python-devel >= 2.4
@@ -64,6 +65,7 @@ the configuration tool.
 %prep
 %setup -q -a 1 -a 2
 %patch1 -p1 -b .get_cursor
+%patch2 -p1 -b .statereason-icons
 
 %build
 %configure
@@ -165,6 +167,9 @@ rm -rf %buildroot
 exit 0
 
 %changelog
+* Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-4
+- Fixed statereason icon names.
+
 * Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-3
 - Fixed traceback in on_tvNPDeviceURIs_cursor_changed (bug #519367).
 




More information about the fedora-extras-commits mailing list