deskbar-applet r2205 - in branches/gnome-2-22: . deskbar/handlers



Author: sebp
Date: Sun Jun  8 10:55:40 2008
New Revision: 2205
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2205&view=rev

Log:
Set TomboyNotesModule.tomboy to None when module is stopped

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/deskbar/handlers/tomboy.py

Modified: branches/gnome-2-22/deskbar/handlers/tomboy.py
==============================================================================
--- branches/gnome-2-22/deskbar/handlers/tomboy.py	(original)
+++ branches/gnome-2-22/deskbar/handlers/tomboy.py	Sun Jun  8 10:55:40 2008
@@ -159,6 +159,9 @@
     
     def initialize(self):
         TomboyNotesModule.tomboy = get_tomboy_connection()
+        
+    def stop(self):
+        TomboyNotesModule.tomboy = None
     
     # This is so when Tomboy is disabled, history items won't try to connect
     # Otherwise, we get big DBus errors



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]