commit system-config-printer for openSUSE:Factory
Hello community, here is the log from the commit of package system-config-printer for openSUSE:Factory checked in at Fri Feb 27 14:09:57 CET 2009. -------- --- GNOME/system-config-printer/system-config-printer.changes 2009-02-24 20:50:34.000000000 +0100 +++ /mounts/work_src_done/STABLE/system-config-printer/system-config-printer.changes 2009-02-26 03:49:51.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Feb 26 03:49:13 CET 2009 - vuntz@novell.com + +- Add system-config-printer-fix-add-printer-git051bc7f0.patch: + patch from git to fix the "Add printer" dialog not working. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- system-config-printer-fix-add-printer-git051bc7f0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ system-config-printer.spec ++++++ --- /var/tmp/diff_new_pack.P21601/_old 2009-02-27 14:09:46.000000000 +0100 +++ /var/tmp/diff_new_pack.P21601/_new 2009-02-27 14:09:46.000000000 +0100 @@ -22,7 +22,7 @@ License: GPL v2 or later Group: Hardware/Printing Version: 1.1.4 -Release: 1 +Release: 2 Summary: A printer administration tool Url: http://cyberelk.net/tim/software/system-config-printer/ Source0: http://cyberelk.net/tim/data/system-config-printer/1.0.x/system-config-printer-%{version}.tar.bz2 @@ -36,6 +36,8 @@ Patch18: system-config-printer-firewall-menu.patch # PATCH-FIX-UPSTREAM system-config-printer-bnc456110-non-blocking-probe.patch bnc456110 vuntz@novell.com -- Make the probing code not block the UI Patch19: system-config-printer-bnc456110-non-blocking-probe.patch +# PATCH-FIX-UPSTREAM system-config-printer-fix-add-printer-git051bc7f0.patch vuntz@novell.com -- Fix "add printer" dialog not working. Taken from git +Patch20: system-config-printer-fix-add-printer-git051bc7f0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: gnome-cups-manager <= 0.33 # For directory ownership @@ -85,6 +87,7 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%patch20 -p1 gnome-patch-translation-update %build @@ -127,6 +130,9 @@ %files lang -f %{name}.lang %changelog +* Thu Feb 26 2009 vuntz@novell.com +- Add system-config-printer-fix-add-printer-git051bc7f0.patch: + patch from git to fix the "Add printer" dialog not working. * Tue Feb 24 2009 vuntz@novell.com - Add system-config-printer-bnc456110-non-blocking-probe.patch: make the probing code non-blocking for the UI. ++++++ system-config-printer-fix-add-printer-git051bc7f0.patch ++++++ diff --git a/system-config-printer.py b/system-config-printer.py --- a/system-config-printer.py +++ b/system-config-printer.py @@ -4874,13 +4874,13 @@ class NewPrinterGUI(GtkGUI): self.devices.sort() other = cupshelpers.Device('', **{'device-info' :_("Other")}) self.devices.append (PhysicalDevice (other)) - device_select_path = 0 + device_select_index = 0 if current_uri: current_device = PhysicalDevice (current) try: i = self.devices.index (current_device) self.devices[i].add_device (current) - device_select_path = i + device_select_index = i devs = self.devices[i].get_devices () except ValueError: self.devices.insert(0, current_device) @@ -4902,6 +4902,7 @@ class NewPrinterGUI(GtkGUI): self.tvNPDevices.set_model (model) i = 0 + device_select_path = None for device in self.devices: devs = device.get_devices () network = devs[0].device_class == 'network' @@ -4915,16 +4916,16 @@ class NewPrinterGUI(GtkGUI): # If this is the currently selected device we need # to expand the "Network Printer" row so that it # is visible. - if device_select_path == i: + if device_select_index == i: network_path = model.get_path (network_iter) self.tvNPDevices.expand_row (network_path, False) else: # Just a method of finding one. - model.append (network_iter, row=row) + iter = model.append (network_iter, row=row) else: iter = model.insert_before(None, network_iter, row=row) - if device_select_path == i: + if device_select_index == i: device_select_path = model.get_path (iter) self.tvNPDevices.scroll_to_cell (device_select_path, row_align=0.5) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de