deskbar-applet r2635 - in trunk: . deskbar/handlers/actions



Author: sebp
Date: Sun Apr 12 18:14:25 2009
New Revision: 2635
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2635&view=rev

Log:
Fixed bug #504930: Showing application icon for app launchers (patch by Omair Majid)

Modified:
   trunk/ChangeLog
   trunk/deskbar/handlers/actions/OpenDesktopFileAction.py

Modified: trunk/deskbar/handlers/actions/OpenDesktopFileAction.py
==============================================================================
--- trunk/deskbar/handlers/actions/OpenDesktopFileAction.py	(original)
+++ trunk/deskbar/handlers/actions/OpenDesktopFileAction.py	Sun Apr 12 18:14:25 2009
@@ -37,7 +37,7 @@
         return exists(self._desktop_file)
     
     def get_icon(self):
-        return "gtk-open"
+        return self._desktop.get_string(gnomedesktop.KEY_ICON)
     
     def get_name(self, text=None):
         name_dict = {"name": self._name}



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