Commit df53d7ea 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 bec749f7
......@@ -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():
from gajim.common.settings import Settings
shortargs = 'hvsc:l:p:'
longargs = 'help verbose separate config-path= loglevel= profile='
......@@ -100,6 +101,8 @@ def init_gtk():
app.settings = Settings()
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