20 lines
1023 B
Diff
20 lines
1023 B
Diff
|
diff -up system-config-printer-1.1.91/system-config-printer.py.device-settings system-config-printer-1.1.91/system-config-printer.py
|
||
|
--- system-config-printer-1.1.91/system-config-printer.py.device-settings 2010-02-08 17:31:21.000000000 +0000
|
||
|
+++ system-config-printer-1.1.91/system-config-printer.py 2010-02-11 17:18:45.101708282 +0000
|
||
|
@@ -5049,11 +5049,13 @@ class NewPrinterGUI(GtkGUI):
|
||
|
iter = model.iter_next (iter)
|
||
|
i += 1
|
||
|
elif not self.device_selected:
|
||
|
+ # Select the device.
|
||
|
column = self.tvNPDevices.get_column (0)
|
||
|
self.tvNPDevices.set_cursor ((0,), column)
|
||
|
|
||
|
- column = self.tvNPDeviceURIs.get_column (0)
|
||
|
- self.tvNPDeviceURIs.set_cursor (connection_select_path, column)
|
||
|
+ # Select the connection.
|
||
|
+ column = self.tvNPDeviceURIs.get_column (0)
|
||
|
+ self.tvNPDeviceURIs.set_cursor (connection_select_path, column)
|
||
|
|
||
|
def on_entNPTDevice_changed(self, entry):
|
||
|
self.setNPButtons()
|