remove a useless import in common/gajim.py

This commit is contained in:
Yann Leboulanger 2011-05-04 14:02:38 +02:00
parent 2835618096
commit 26136d66b1
2 changed files with 2 additions and 2 deletions

View File

@ -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?

View File

@ -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()