system-config-printer/system-config-printer-lock.patch
2014-09-06 13:24:51 +01:00

21 lines
759 B
Diff

diff -up system-config-printer-1.5.1/scp-dbus-service.py.lock system-config-printer-1.5.1/scp-dbus-service.py
--- system-config-printer-1.5.1/scp-dbus-service.py.lock 2014-08-22 12:20:15.000000000 +0100
+++ system-config-printer-1.5.1/scp-dbus-service.py 2014-09-06 13:23:34.292543622 +0100
@@ -2,7 +2,7 @@
## system-config-printer
-## Copyright (C) 2010, 2011, 2012, 2013 Red Hat, Inc.
+## Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
## Authors:
## Tim Waugh <twaugh@redhat.com>
@@ -572,5 +572,7 @@ if __name__ == '__main__':
debugprint ("Service running...")
g_killtimer = KillTimer (killfunc=Gtk.main_quit)
cp = ConfigPrinting ()
+ Gdk.threads_enter ()
Gtk.main ()
+ Gdk.threads_leave ()
cp.destroy ()