diff --git a/system-config-printer-NPTLpdQueue.patch b/system-config-printer-NPTLpdQueue.patch new file mode 100644 index 0000000..1c5d257 --- /dev/null +++ b/system-config-printer-NPTLpdQueue.patch @@ -0,0 +1,25 @@ +diff -up system-config-printer-1.2.5/system-config-printer.py.NPTLpdQueue system-config-printer-1.2.5/system-config-printer.py +--- system-config-printer-1.2.5/system-config-printer.py.NPTLpdQueue 2010-10-22 11:18:13.000000000 +0200 ++++ system-config-printer-1.2.5/system-config-printer.py 2010-10-22 11:18:13.000000000 +0200 +@@ -6083,6 +6083,9 @@ class NewPrinterGUI(GtkGUI): + self.btnNPTLpdProbe.set_sensitive (len (hostname) > 0) + self.setNPButtons() + ++ def on_cmbentNPTLpdQueue_changed(self, cmbent): ++ self.setNPButtons() ++ + def on_btnNPTLpdProbe_clicked(self, button): + # read hostname, probe, fill printer names + hostname = self.cmbentNPTLpdHost.get_active_text() +diff -up system-config-printer-1.2.5/ui/NewPrinterWindow.glade.NPTLpdQueue system-config-printer-1.2.5/ui/NewPrinterWindow.glade +--- system-config-printer-1.2.5/ui/NewPrinterWindow.glade.NPTLpdQueue 2010-10-12 18:03:22.000000000 +0200 ++++ system-config-printer-1.2.5/ui/NewPrinterWindow.glade 2010-10-22 11:19:51.000000000 +0200 +@@ -752,7 +752,7 @@ ipp://printer.mydomain/ipp + + + +- ++ + + + 1 diff --git a/system-config-printer.spec b/system-config-printer.spec index d8896cf..4518a16 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -7,7 +7,7 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.2.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base @@ -18,6 +18,7 @@ Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2 Source2: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2 Patch1: system-config-printer-InstallPrinterDrivers-debug.patch Patch2: system-config-printer-mfg-mdl.patch +Patch3: system-config-printer-NPTLpdQueue.patch Patch101: pysmbc-doczip.patch BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 @@ -84,6 +85,9 @@ printers. # (bug #643073). %patch2 -p1 -b .mfg-mdl +# Don't check ComboBoxEntry for allowed characters (bug #644131). +%patch3 -p1 -b .NPTLpdQueue + pushd pysmbc-%{pysmbc_version} %patch101 -p1 -b .doczip popd @@ -207,6 +211,9 @@ rm -rf %buildroot exit 0 %changelog +* Fri Oct 22 2010 Jiri Popelka 1.2.5-4 +- Don't check ComboBoxEntry for allowed characters (bug #644131). + * Thu Oct 14 2010 Tim Waugh - 1.2.5-3 - Always use MFG and MDL fields for InstallPrinterDrivers interface (bug #643073).