rpms/system-config-printer/devel system-config-printer-get_cursor.patch, NONE, 1.1 system-config-printer.spec, 1.283, 1.284
Tim Waugh
twaugh at fedoraproject.org
Wed Aug 26 11:34:34 UTC 2009
- Previous message (by thread): rpms/openoffice.org/devel workspace.sb113.patch, NONE, 1.1 openoffice.org.spec, 1.1993, 1.1994 openoffice.org-2.2.0.ooo76393.sal.dynamicsection.patch, 1.3, NONE
- Next message (by thread): rpms/kvirc/devel .cvsignore, 1.2, 1.3 kvirc.spec, 1.4, 1.5 sources, 1.2, 1.3 kvirc-flags.patch, 1.1, NONE kvirc-openssl.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15526
Modified Files:
system-config-printer.spec
Added Files:
system-config-printer-get_cursor.patch
Log Message:
* Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-2
- Fixed traceback in on_tvNPDeviceURIs_cursor_changed (bug #519367).
system-config-printer-get_cursor.patch:
system-config-printer.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--- NEW FILE system-config-printer-get_cursor.patch ---
diff -up system-config-printer-1.1.12/system-config-printer.py.get_cursor system-config-printer-1.1.12/system-config-printer.py
--- system-config-printer-1.1.12/system-config-printer.py.get_cursor 2009-08-25 17:01:28.000000000 +0100
+++ system-config-printer-1.1.12/system-config-printer.py 2009-08-26 12:32:02.757680412 +0100
@@ -5655,7 +5655,12 @@ class NewPrinterGUI(GtkGUI):
self.expNPDeviceURIs.hide ()
def on_tvNPDeviceURIs_cursor_changed(self, widget):
- model, iter = widget.get_selection().get_selected()
+ path, column = widget.get_cursor ()
+ if path == None:
+ return
+
+ model = widget.get_model ()
+ iter = model.get_iter (path)
device = model.get_value(iter, 1)
self.device = device
self.lblNPDeviceDescription.set_text ('')
Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.283
retrieving revision 1.284
diff -u -p -r1.283 -r1.284
--- system-config-printer.spec 25 Aug 2009 16:29:16 -0000 1.283
+++ system-config-printer.spec 26 Aug 2009 11:34:34 -0000 1.284
@@ -7,13 +7,14 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.1.12
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
Source0: http://cyberelk.net/tim/data/system-config-printer/1.1/system-config-printer-%{version}.tar.xz
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
BuildRequires: cups-devel >= 1.2
BuildRequires: python-devel >= 2.4
@@ -74,6 +75,7 @@ printers.
%prep
%setup -q -a 1 -a 2
+%patch1 -p1 -b .get_cursor
%build
%configure --with-udev-rules
@@ -185,6 +187,9 @@ rm -rf %buildroot
exit 0
%changelog
+* Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-2
+- Fixed traceback in on_tvNPDeviceURIs_cursor_changed (bug #519367).
+
* Tue Aug 25 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-1
- 1.1.12:
- Troubleshooting fix.
- Previous message (by thread): rpms/openoffice.org/devel workspace.sb113.patch, NONE, 1.1 openoffice.org.spec, 1.1993, 1.1994 openoffice.org-2.2.0.ooo76393.sal.dynamicsection.patch, 1.3, NONE
- Next message (by thread): rpms/kvirc/devel .cvsignore, 1.2, 1.3 kvirc.spec, 1.4, 1.5 sources, 1.2, 1.3 kvirc-flags.patch, 1.1, NONE kvirc-openssl.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list