--- gnome-panel-2.14.1/gnome-panel/panel-recent.c 2005-12-17 13:04:21.000000000 +0200 +++ gnome-panel-2.14.1.fixed/gnome-panel/panel-recent.c 2006-06-13 09:25:20.000000000 +0300 @@ -49,6 +49,12 @@ GnomeVFSMimeApplication *app; GList *uris = NULL; + if (g_file_test(uri,G_FILE_TEST_IS_REGULAR)==FALSE) { + g_set_error (error, 0, 0, _("Could not find such a file.")); + return FALSE; + } + + app = gnome_vfs_mime_get_default_application_for_uri (uri, mime_type); if (app == NULL) { g_set_error (error, 0, 0, _("Could not find a suitable application."));