Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 917378 Details for
Bug 1116756
System config printer applet locks up after authenticating one print job
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to use Gtk's main loop in the D-Bus service
0001-Use-Gtk-main-loop-in-D-Bus-service-bug-1116756.patch (text/plain), 1.60 KB, created by
Tim Waugh
on 2014-07-11 16:17:31 UTC
(
hide
)
Description:
Patch to use Gtk's main loop in the D-Bus service
Filename:
MIME Type:
Creator:
Tim Waugh
Created:
2014-07-11 16:17:31 UTC
Size:
1.60 KB
patch
obsolete
>From b560e45db0f6228aeed1c25db4077be76fa4ad32 Mon Sep 17 00:00:00 2001 >From: Tim Waugh <twaugh@redhat.com> >Date: Fri, 11 Jul 2014 17:15:23 +0100 >Subject: [PATCH] Use Gtk main loop in D-Bus service (bug #1116756). > >--- > scp-dbus-service.py | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/scp-dbus-service.py b/scp-dbus-service.py >index 9d11f40..0f5893f 100644 >--- a/scp-dbus-service.py >+++ b/scp-dbus-service.py >@@ -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> > >@@ -24,6 +24,7 @@ import dbus.service > from gi.repository import GObject > from gi.repository import GLib > from gi.repository import Gdk >+from gi.repository import Gtk > import sys > > from debug import * >@@ -408,6 +409,7 @@ class ConfigPrintingJobApplet(dbus.service.Object): > Gdk.threads_enter () > self.jobapplet = jobviewer.JobViewer(bus=dbus.SystemBus (), > applet=True, my_jobs=True) >+ self.jobapplet.set_process_pending (False) > Gdk.threads_leave () > handle = self.jobapplet.connect ('finished', self.on_jobapplet_finished) > self.finished_handle = handle >@@ -569,8 +571,7 @@ if __name__ == '__main__': > sys.exit (0) > > debugprint ("Service running...") >- loop = GObject.MainLoop () >- g_killtimer = KillTimer (killfunc=loop.quit) >+ g_killtimer = KillTimer (killfunc=Gtk.main_quit) > cp = ConfigPrinting () >- loop.run () >+ Gtk.main () > cp.destroy () >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1116756
:
916002
| 917378