diff --git a/src/common/gajim.py b/src/common/gajim.py index 872b083bc..68acdd0f8 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -35,7 +35,6 @@ import config import xmpp import defs import common.ged -import notify interface = None # The actual interface (the gtk one for the moment) thread_interface = None # Interface to run a thread and then a callback @@ -106,7 +105,7 @@ to_be_removed = {} # list of contacts that has just signed out events = Events() -notification = notify.Notification() +notification = None nicks = {} # list of our nick names in each account # should we block 'contact signed in' notifications for this account? diff --git a/src/gui_interface.py b/src/gui_interface.py index aeb11962c..ad48acfe3 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -2668,6 +2668,7 @@ class Interface: # Creating Network Events Controller from common import nec gajim.nec = nec.NetworkEventsController() + gajim.notification = notify.Notification() self.create_core_handlers_list() self.register_core_handlers()