Use gobject set_prgname to make gnome shell happy.
This commit is contained in:
parent
07ccae31d3
commit
ab0491c39d
|
@ -300,6 +300,10 @@ def main():
|
|||
dbus.glib.threads_init()
|
||||
import dbus.service
|
||||
|
||||
# Set program name for gnome shell
|
||||
if hasattr(gobject, "set_prgname"):
|
||||
gobject.set_prgname(appname)
|
||||
|
||||
# Specifically init config/gconf before the fork, so that pam
|
||||
# doesn't think we closed the app, therefor robbing us of
|
||||
# display access
|
||||
|
|
Loading…
Reference in New Issue