Index: deskbar/handlers/actions/OpenFileAction.py
===================================================================
--- deskbar/handlers/actions/OpenFileAction.py	(revision 1792)
+++ deskbar/handlers/actions/OpenFileAction.py	(working copy)
@@ -7,9 +7,6 @@
 class OpenFileAction(deskbar.interfaces.Action):
     """
     Open file with its preferred application
-    
-    This class does *not* take into account whether
-    a preferred application is registered for the file
     """
     
     def __init__(self, name, url, escape=True):
@@ -29,7 +26,12 @@
         url = self._url[7:]
         if not self._escape:
             url = gnomevfs.unescape_string_for_display(url)
-        return exists( url )
+
+        if not exists(url):
+            return False
+        else:
+            mime_type = gnomevfs.get_mime_type(url)
+            return gnomevfs.mime_get_default_application(mime_type) != None
     
     def get_hash(self):
         return self._url
@@ -38,4 +40,4 @@
         return _("Open %s") % "<b>%(name)s</b>"
     
     def activate(self, text=None):
-        url_show_file(self._url, escape=self._escape)
\ No newline at end of file
+        url_show_file(self._url, escape=self._escape)
