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



Author: sebp
Date: Wed Mar 19 22:29:50 2008
New Revision: 2025
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2025&view=rev

Log:
PathProgramMatch.get_hash returns self._name instead of text, because text is never supplied

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

Modified: branches/gnome-2-22/deskbar/handlers/programs.py
==============================================================================
--- branches/gnome-2-22/deskbar/handlers/programs.py	(original)
+++ branches/gnome-2-22/deskbar/handlers/programs.py	Wed Mar 19 22:29:50 2008
@@ -250,8 +250,8 @@
         self.add_action( OpenPathProgramAction(command, False), True )
         self.add_action( OpenPathProgramAction(command, True) )
         
-    def get_hash(self, text=None):
-        return text
+    def get_hash(self):
+        return self._name
         
 class ProgramsHandler(deskbar.interfaces.Module):
     



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