From 26136d66b1c16c8aeb2ff329d6dfee12bcbf4e4a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 4 May 2011 14:02:38 +0200 Subject: [PATCH] remove a useless import in common/gajim.py --- src/common/gajim.py | 3 +-- src/gui_interface.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) 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()