rpms/system-config-printer/devel system-config-printer-browsepoll.patch, NONE, 1.1 system-config-printer.spec, 1.315, 1.316

Tim Waugh twaugh at fedoraproject.org
Thu Dec 3 17:12:43 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/system-config-printer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv891

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-browsepoll.patch 
Log Message:
* Thu Dec  3 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-3
- Don't overwrite BrowsePoll settings in basic settings dialog (bug #543986).


system-config-printer-browsepoll.patch:
 system-config-printer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE system-config-printer-browsepoll.patch ---
diff -up system-config-printer-1.1.15/system-config-printer.py.browsepoll system-config-printer-1.1.15/system-config-printer.py
--- system-config-printer-1.1.15/system-config-printer.py.browsepoll	2009-11-30 12:43:08.000000000 +0000
+++ system-config-printer-1.1.15/system-config-printer.py	2009-12-03 17:09:32.221925957 +0000
@@ -3379,7 +3379,7 @@ class GUI(GtkGUI, monitor.Watcher):
         self.setDataButtonState()
 
     def save_serversettings(self):
-        setting_dict = self.server_settings.copy()
+        setting_dict = dict()
         for widget, setting in [
             (self.chkServerBrowse, cups.CUPS_SERVER_REMOTE_PRINTERS),
             (self.chkServerShare, cups.CUPS_SERVER_SHARE_PRINTERS),


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -p -r1.315 -r1.316
--- system-config-printer.spec	3 Dec 2009 14:59:37 -0000	1.315
+++ system-config-printer.spec	3 Dec 2009 17:12:43 -0000	1.316
@@ -7,7 +7,7 @@
 Summary: A printer administration tool
 Name: system-config-printer
 Version: 1.1.15
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 URL: http://cyberelk.net/tim/software/system-config-printer/
 Group: System Environment/Base
@@ -17,6 +17,7 @@ Source2: http://cyberelk.net/tim/data/py
 
 Patch1: system-config-printer-no-epydoc.patch
 Patch2: system-config-printer-localize-statereason.patch
+Patch3: system-config-printer-browsepoll.patch
 
 BuildRequires: cups-devel >= 1.2
 BuildRequires: python-devel >= 2.4
@@ -78,6 +79,7 @@ printers.
 %setup -q -a 1 -a 2
 %patch1 -p1 -b .no-epydoc
 %patch2 -p1 -b .localize-statereason
+%patch3 -p1 -b .browsepoll
 
 %build
 %configure --with-udev-rules --with-polkit-1
@@ -190,6 +192,9 @@ rm -rf %buildroot
 exit 0
 
 %changelog
+* Thu Dec  3 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-3
+- Don't overwrite BrowsePoll settings in basic settings dialog (bug #543986).
+
 * Thu Dec  3 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-2
 - Handle RuntimeError when localizing state reason (bug #543937).
 




More information about the fedora-extras-commits mailing list