Blame SOURCES/0001-Set-programe-name-for-scp-dbus-service-as-well.patch

758846
From d818802daefd66eafbcc1618dc731e65de3e08b8 Mon Sep 17 00:00:00 2001
758846
From: Laurent Bigonville <bigon@bigon.be>
758846
Date: Mon, 26 Feb 2018 13:59:26 +0100
758846
Subject: [PATCH] Set programe name for scp-dbus-service as well
758846
758846
scp-dbus-service can be D-Bus activated, that means that the program
758846
name is never set meaning that the icon and the fancy name in the window
758846
list is never set.
758846
758846
This completes the fix for bug #53
758846
---
758846
 scp-dbus-service.py | 5 ++++-
758846
 1 file changed, 4 insertions(+), 1 deletion(-)
758846
758846
diff --git a/scp-dbus-service.py b/scp-dbus-service.py
758846
index 3aefc6c6..1338836b 100644
758846
--- a/scp-dbus-service.py
758846
+++ b/scp-dbus-service.py
758846
@@ -20,8 +20,8 @@
758846
 ## along with this program; if not, write to the Free Software
758846
 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
758846
 
758846
-import dbus.service
758846
 import gi
758846
+import dbus.service
758846
 from gi.repository import GObject
758846
 from gi.repository import GLib
758846
 gi.require_version('Gdk', '3.0')
758846
@@ -55,6 +55,9 @@ CONFIG_JOBVIEWER_IFACE=CONFIG_IFACE + ".JobViewer"
758846
 g_ppds = None
758846
 g_killtimer = None
758846
 
758846
+#set program name
758846
+GLib.set_prgname("system-config-printer")
758846
+
758846
 class FetchedPPDs(GObject.GObject):
758846
     __gsignals__ = {
758846
         'ready': (GObject.SIGNAL_RUN_LAST, None, ()),
758846
-- 
758846
2.17.2
758846