rpms/system-config-printer/F-11 system-config-printer-get_cursor.patch, NONE, 1.1 system-config-printer.spec, 1.274, 1.275
Tim Waugh
twaugh at fedoraproject.org
Wed Aug 26 12:16:45 UTC 2009
- Previous message (by thread): rpms/system-config-printer/F-10 system-config-printer-get_cursor.patch, NONE, 1.1 system-config-printer.spec, 1.244, 1.245
- Next message (by thread): rpms/libtranslate/devel libtranslate-services.xml.in-20090826, NONE, 1.1 libtranslate.spec, 1.27, 1.28 libtranslate-0.99-services.diff, 1.1, NONE libtranslate-0.99-update-services.patch, 1.1, NONE libtranslate-0.99-update-services1.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24256
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-3
- 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/F-11/system-config-printer.spec,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -p -r1.274 -r1.275
--- system-config-printer.spec 25 Aug 2009 16:45:09 -0000 1.274
+++ system-config-printer.spec 26 Aug 2009 12:16:44 -0000 1.275
@@ -7,13 +7,14 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.1.12
-Release: 1%{?dist}
+Release: 3%{?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
@@ -62,6 +63,7 @@ the configuration tool.
%prep
%setup -q -a 1 -a 2
+%patch1 -p1 -b .get_cursor
%build
%configure
@@ -163,6 +165,9 @@ rm -rf %buildroot
exit 0
%changelog
+* Wed Aug 26 2009 Tim Waugh <twaugh at redhat.com> 1.1.12-3
+- 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/system-config-printer/F-10 system-config-printer-get_cursor.patch, NONE, 1.1 system-config-printer.spec, 1.244, 1.245
- Next message (by thread): rpms/libtranslate/devel libtranslate-services.xml.in-20090826, NONE, 1.1 libtranslate.spec, 1.27, 1.28 libtranslate-0.99-services.diff, 1.1, NONE libtranslate-0.99-update-services.patch, 1.1, NONE libtranslate-0.99-update-services1.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list