Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2011-05-04 16:02:38 +0400
committerYann Leboulanger <asterix@lagaule.org>2011-05-04 16:02:38 +0400
commit26136d66b1c16c8aeb2ff329d6dfee12bcbf4e4a (patch)
treeadb2d83113aad2c79e181829bf3519c86e63d4ae
parent28356180969561b4d7e2b376c1d1cde6aed3b8a6 (diff)
remove a useless import in common/gajim.py
-rw-r--r--src/common/gajim.py3
-rw-r--r--src/gui_interface.py1
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()