Merge pull request #628 from MihaiBabiac/fix-desktop-file-not-found

Fix missing icons when started with Ctrl-Alt-T
This commit is contained in:
Matt Rose 2022-10-30 11:37:04 -04:00 committed by GitHub
commit 6f99890dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ try:
import gi
gi.require_version('Gtk','3.0')
# pylint: disable-msg=W0611
from gi.repository import Gtk, Gdk
from gi.repository import Gtk, Gdk, GLib
if Gdk.Display.get_default() == None:
print('You need to run terminator in an X environment. ' \
@ -80,6 +80,8 @@ if __name__ == '__main__':
dbg ("%s starting up, version %s" % (APP_NAME, APP_VERSION))
GLib.set_prgname(APP_NAME)
OPTIONS,dbus_options = terminatorlib.optionparse.parse_options()
if OPTIONS.configjson:
configjson = ConfigJson()