changeset 2f333ecbfd68 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=2f333ecbfd68
description: remove a useless import in common/gajim.py

diffstat:

 src/common/gajim.py  |  3 +--
 src/gui_interface.py |  1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r e496b6197204 -r 2f333ecbfd68 src/common/gajim.py
--- a/src/common/gajim.py       Wed May 04 08:50:34 2011 +0200
+++ b/src/common/gajim.py       Wed May 04 14:02:38 2011 +0200
@@ -35,7 +35,6 @@
 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 @@
 
 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 -r e496b6197204 -r 2f333ecbfd68 src/gui_interface.py
--- a/src/gui_interface.py      Wed May 04 08:50:34 2011 +0200
+++ b/src/gui_interface.py      Wed May 04 14:02:38 2011 +0200
@@ -2668,6 +2668,7 @@
         # 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()
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to