- Fixed statereason icon names.
This commit is contained in:
parent
1342bc0bad
commit
a9d6dbac1e
16
system-config-printer-statereason-icons.patch
Normal file
16
system-config-printer-statereason-icons.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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):
|
@ -7,7 +7,7 @@
|
|||||||
Summary: A printer administration tool
|
Summary: A printer administration tool
|
||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Version: 1.1.12
|
Version: 1.1.12
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/software/system-config-printer/
|
URL: http://cyberelk.net/tim/software/system-config-printer/
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -15,6 +15,7 @@ Source0: http://cyberelk.net/tim/data/system-config-printer/1.1/system-config-pr
|
|||||||
Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
|
Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
|
||||||
Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
|
Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
|
||||||
Patch1: system-config-printer-get_cursor.patch
|
Patch1: system-config-printer-get_cursor.patch
|
||||||
|
Patch2: system-config-printer-statereason-icons.patch
|
||||||
|
|
||||||
BuildRequires: cups-devel >= 1.2
|
BuildRequires: cups-devel >= 1.2
|
||||||
BuildRequires: python-devel >= 2.4
|
BuildRequires: python-devel >= 2.4
|
||||||
@ -76,6 +77,7 @@ printers.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 -a 2
|
%setup -q -a 1 -a 2
|
||||||
%patch1 -p1 -b .get_cursor
|
%patch1 -p1 -b .get_cursor
|
||||||
|
%patch2 -p1 -b .statereason-icons
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-udev-rules
|
%configure --with-udev-rules
|
||||||
@ -187,6 +189,9 @@ rm -rf %buildroot
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 26 2009 Tim Waugh <twaugh@redhat.com> 1.1.12-3
|
||||||
|
- Fixed statereason icon names.
|
||||||
|
|
||||||
* Wed Aug 26 2009 Tim Waugh <twaugh@redhat.com> 1.1.12-2
|
* Wed Aug 26 2009 Tim Waugh <twaugh@redhat.com> 1.1.12-2
|
||||||
- Fixed traceback in on_tvNPDeviceURIs_cursor_changed (bug #519367).
|
- Fixed traceback in on_tvNPDeviceURIs_cursor_changed (bug #519367).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user