deskbar-applet r2206 - in trunk: . deskbar/handlers



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

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

Modified:
   trunk/ChangeLog
   trunk/deskbar/handlers/tomboy.py

Modified: trunk/deskbar/handlers/tomboy.py
==============================================================================
--- trunk/deskbar/handlers/tomboy.py	(original)
+++ trunk/deskbar/handlers/tomboy.py	Sun Jun  8 10:55:57 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]