Remove CAN_OVERRIDE_APP_ID Flag
This cannot be used in combination with HANDLES_COMMAND_LINE Fixes #8947
This commit is contained in:
parent
3abc50b22c
commit
fa325a8fc2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue