Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits: a0463710 by Philipp Hörist at 2018-10-07T00:05:07Z Bring back lost --version command
- - - - -
1 changed file:
- gajim/application.py
Changes:
===================================== gajim/application.py ===================================== @@ -40,6 +40,7 @@ from urllib.parse import unquote
from gi.repository import GLib, Gio, Gtk
+import gajim from gajim.common import app from gajim.common import configpaths from gajim.common import logging_helpers @@ -304,6 +305,9 @@ class GajimApplication(Gtk.Application): application: Gtk.Application, options: GLib.VariantDict) -> int: # Parse all options that have to be executed before ::startup + if options.contains('version'): + print(gajim.__version__) + return 0 if options.contains('profile'): # Incorporate profile name into application id # to have a single app instance for each profile.
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a04637105d9929cfba0cbfa3007aa94a5c2...