Remove CAN_OVERRIDE_APP_ID Flag

This cannot be used in combination with HANDLES_COMMAND_LINE

Fixes #8947
This commit is contained in:
Philipp Hörist 2018-03-14 22:10:29 +01:00
parent 3abc50b22c
commit fa325a8fc2
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ class GajimApplication(Gtk.Application):
Gtk.Application.__init__(self, application_id='org.gajim.Gajim', Gtk.Application.__init__(self, application_id='org.gajim.Gajim',
flags=( flags=(
Gio.ApplicationFlags.HANDLES_COMMAND_LINE | Gio.ApplicationFlags.HANDLES_COMMAND_LINE |
Gio.ApplicationFlags.HANDLES_OPEN | Gio.ApplicationFlags.HANDLES_OPEN))
Gio.ApplicationFlags.CAN_OVERRIDE_APP_ID))
self.add_main_option('version', ord('V'), GLib.OptionFlags.NONE, self.add_main_option('version', ord('V'), GLib.OptionFlags.NONE,
GLib.OptionArg.NONE, GLib.OptionArg.NONE,