Commit a08eab5a authored by Matthew White's avatar Matthew White Committed by Philipp Hörist
Browse files

HistoryManager: Allow it to start in standalone mode

Fixes the following error when starting gajim-history-manager:

ModuleNotFoundError: No module named 'gajim.gui.emoji_data'
parent f9f2a88b
......@@ -55,7 +55,6 @@
from gajim.common.const import JIDConstant
from gajim.common.const import KindConstant
from gajim.common.const import ShowConstant
from gajim.common.settings import Settings
def is_standalone():
......@@ -76,6 +75,8 @@ def init_gtk():
if is_standalone():
init_gtk()
from gajim.common.settings import Settings
try:
shortargs = 'hvsc:l:p:'
longargs = 'help verbose separate config-path= loglevel= profile='
......@@ -100,6 +101,8 @@ def init_gtk():
app.settings = Settings()
app.settings.init()
app.load_css_config()
else:
from gajim.common.settings import Settings
from gajim.common import helpers
from gajim.gui.dialogs import ErrorDialog
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment