Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim
Commits:
63439d08 by Tomasz MiÄ…sko at 2017-01-22T23:07:31+01:00
Fix translation list and add missing import.
- - - - -
6ed3651d by Philipp Hörist at 2017-01-22T23:13:43+01:00
Merge branch 'minor-fixes' into 'gajim_0.16'
Fix translation list and add missing import.
See merge request !33
- - - - -
2 changed files:
- po/LINGUAS
- src/common/logging_helpers.py
Changes:
=====================================
po/LINGUAS
=====================================
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -15,7 +15,6 @@ sv
it
eu
sk
-no
zh_CN
br
eo
=====================================
src/common/logging_helpers.py
=====================================
--- a/src/common/logging_helpers.py
+++ b/src/common/logging_helpers.py
@@ -21,6 +21,7 @@
import logging
import i18n
import os
+import sys
def parseLogLevel(arg):
"""
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/8abf73f94e63f96ab859bd4651553e718…
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
9ea208e3 by Tomasz MiÄ…sko at 2017-01-18T20:38:28+01:00
Use separate application id for each profile.
Application id is customized in do_handle_local_options just before it
is registered and can't be changed any further.
This makes it possible to run multiple instances of Gajim, at most one
for each profile.
- - - - -
ca3b5eee by Philipp Hörist at 2017-01-22T17:12:25+01:00
Merge branch 'multiple-instances' into 'master'
Use separate application id for each profile.
See merge request !32
- - - - -
1 changed file:
- src/application.py
Changes:
=====================================
src/application.py
=====================================
--- a/src/application.py
+++ b/src/application.py
@@ -217,6 +217,15 @@ class GajimApplication(Gtk.Application):
if hasattr(self.interface, 'roster') and self.interface.roster:
self.interface.roster.prepare_quit()
+ def do_handle_local_options(self, options: GLib.VariantDict) -> int:
+ if options.contains('profile'):
+ # Incorporate profile name into application id
+ # to have a single app instance for each profile.
+ profile = options.lookup_value('profile').get_string()
+ app_id = '%s.%s' % (self.get_application_id(), profile)
+ self.set_application_id(app_id)
+ return -1
+
def do_command_line(self, command_line: Gio.ApplicationCommandLine) -> int:
Gtk.Application.do_command_line(self, command_line)
options = command_line.get_options_dict()
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/b4678cec5bc7245543867ffd6a0668e77…
Yann Leboulanger pushed to branch gajim_0.16 at gajim / gajim
Commits:
f822a108 by Yann Leboulanger at 2017-01-15T20:51:39+00:00
iremove old norwegian translations
- - - - -
2 changed files:
- − po/nb.po
- − po/no.po
Changes:
=====================================
po/nb.po deleted
=====================================
The diff for this file was not included because it is too large.
=====================================
po/no.po deleted
=====================================
The diff for this file was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f822a1087a9da28db85ede6162e216905f…
Yann Leboulanger pushed to branch gajim_0.16 at gajim / gajim
Commits:
ba17a48c by Yann Leboulanger at 2017-01-15T21:10:05+01:00
add nb_NO translation
- - - - -
1 changed file:
- + po/nb_NO.po
Changes:
=====================================
po/nb_NO.po
=====================================
The diff for this file was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ba17a48c33ce70e661489e44ce2cc9af32…