system-config-printer/system-config-printer-auto_make.patch

24 lines
1.2 KiB
Diff

diff -up system-config-printer-1.2.2/system-config-printer.py.auto_make system-config-printer-1.2.2/system-config-printer.py
--- system-config-printer-1.2.2/system-config-printer.py.auto_make 2010-05-07 16:19:03.000000000 +0200
+++ system-config-printer-1.2.2/system-config-printer.py 2010-06-02 18:15:16.000000000 +0200
@@ -4111,8 +4111,8 @@ class NewPrinterGUI(GtkGUI):
self.on_rbtnNPFoomatic_toggled(self.rbtnNPFoomatic)
self.rbtnChangePPDKeepSettings.set_active(True)
- self.auto_make = None
- self.auto_model = None
+ self.auto_make = ""
+ self.auto_model = ""
self.auto_driver = None
ppd = self.mainapp.ppd
#self.mainapp.devid = "MFG:Samsung;MDL:ML-3560;DES:;CMD:GDI;"
@@ -4319,7 +4319,7 @@ class NewPrinterGUI(GtkGUI):
self.dialog_mode == "printer_with_uri":
self.busy (self.NewPrinterWindow)
if page_nr == 1: # Device (first page)
- self.auto_make, self.auto_model = None, None
+ self.auto_make, self.auto_model = "", ""
self.auto_driver = None
self.device.uri = self.getDeviceURI()