remove a useless import in common/gajim.py
This commit is contained in:
parent
2835618096
commit
26136d66b1
|
@ -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?
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue