Skip to content

Commit cc3650c

Browse files
committed
system-config-printer.py doesn't have program name (https://github.com/zdohnal/system-config-printer/issues/53)
1 parent f2dff02 commit cc3650c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929
- removed deprecated Gtk objects
3030
- another deprecated issues - GLib
3131
- parent attribute in Gtk.Dialog is deprecated - use transient_for
32+
- system-config-printer.py doesn't have program name (https://github.com/zdohnal/system-config-printer/issues/53)

system-config-printer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ def show_help():
104104
PlugWindow = None
105105
PlugWindowId = None
106106

107+
#set program name
108+
GLib.set_prgname("system-config-printer")
109+
107110
def CUPS_server_hostname ():
108111
host = cups.getServer ()
109112
if host[0] == '/':

0 commit comments

Comments
 (0)