deskbar-applet r1840 - in trunk: . deskbar/ui



Author: sebp
Date: Sun Jan 13 12:02:07 2008
New Revision: 1840
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1840&view=rev

Log:
Fixed bug #500550: invalid tree path in DeskbarHistory.py

Modified:
   trunk/ChangeLog
   trunk/deskbar/ui/CuemiacWindowController.py

Modified: trunk/deskbar/ui/CuemiacWindowController.py
==============================================================================
--- trunk/deskbar/ui/CuemiacWindowController.py	(original)
+++ trunk/deskbar/ui/CuemiacWindowController.py	Sun Jan 13 12:02:07 2008
@@ -133,8 +133,10 @@
             self.on_quit()
         
     def on_clear_history(self, sender):
-        self._model.get_history().clear()
-        self._model.get_history().save()
+        history = self._model.get_history()
+        history.clear()
+        history.reset()
+        history.save()
         
     def on_history_match_selected(self, history, text, action):
         action.activate(text)



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