rpms/system-config-printer/devel system-config-printer-async-fallback-2.patch, NONE, 1.1 system-config-printer.spec, 1.351, 1.352

Tim Waugh twaugh at fedoraproject.org
Mon Jan 25 16:02:30 UTC 2010


Author: twaugh

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

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-async-fallback-2.patch 
Log Message:
* Mon Jan 25 2010 Tim Waugh <twaugh at redhat.com> - 1.1.90-3
- Fixed async fallback again (bug #557854).


system-config-printer-async-fallback-2.patch:
 asyncpk1.py |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--- NEW FILE system-config-printer-async-fallback-2.patch ---
diff -up system-config-printer-1.1.90/asyncpk1.py.async-fallback-2 system-config-printer-1.1.90/asyncpk1.py
--- system-config-printer-1.1.90/asyncpk1.py.async-fallback-2	2010-01-18 17:38:54.000000000 +0000
+++ system-config-printer-1.1.90/asyncpk1.py	2010-01-25 16:00:32.950084610 +0000
@@ -299,15 +299,15 @@ class PK1Connection:
     def _call_with_pk (self, use_pycups, pk_method_name, pk_args,
                        reply_handler, error_handler, unpack_fn,
                        fallback_fn, args, kwds):
+        asyncmethodcall = _PK1AsyncMethodCall (self._system_bus, self,
+                                               pk_method_name, pk_args,
+                                               reply_handler,
+                                               error_handler,
+                                               unpack_fn, fallback_fn,
+                                               args, kwds)
+
         if not use_pycups:
             try:
-                asyncmethodcall = _PK1AsyncMethodCall (self._system_bus, self,
-                                                       pk_method_name, pk_args,
-                                                       reply_handler,
-                                                       error_handler,
-                                                       unpack_fn, fallback_fn,
-                                                       args, kwds)
-
                 debugprint ("Calling PK method %s" % pk_method_name)
                 asyncmethodcall.call ()
             except dbus.DBusException, e:


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -p -r1.351 -r1.352
--- system-config-printer.spec	25 Jan 2010 16:00:13 -0000	1.351
+++ system-config-printer.spec	25 Jan 2010 16:02:29 -0000	1.352
@@ -19,6 +19,7 @@ Patch1: system-config-printer-no-epydoc.
 Patch2: system-config-printer-copy-printer.patch
 Patch3: system-config-printer-spinbuttons.patch
 Patch4: system-config-printer-raw-statereason.patch
+Patch5: system-config-printer-async-fallback-2.patch
 
 BuildRequires: cups-devel >= 1.2
 BuildRequires: python-devel >= 2.4
@@ -82,6 +83,7 @@ printers.
 %patch2 -p1 -b .copy-printer
 %patch3 -p1 -b .spinbuttons
 %patch4 -p1 -b .raw-statereason
+%patch5 -p1 -b .async-fallback-2
 
 %build
 %configure --with-udev-rules --with-polkit-1
@@ -199,6 +201,7 @@ exit 0
 %changelog
 * Mon Jan 25 2010 Tim Waugh <twaugh at redhat.com> - 1.1.90-3
 - Fixed statereason localization for raw queues (bug #558156).
+- Fixed async fallback again (bug #557854).
 
 * Thu Jan 21 2010 Tim Waugh <twaugh at redhat.com> - 1.1.90-2
 - Added GtkAdjustments for all XML-declared SpinButtons.



More information about the scm-commits mailing list