Index: embed/mozilla/MozDownload.cpp =================================================================== RCS file: /cvs/gnome/epiphany/embed/mozilla/MozDownload.cpp,v retrieving revision 1.77 diff -p -u -u -p -r1.77 MozDownload.cpp --- embed/mozilla/MozDownload.cpp 29 Oct 2005 21:38:35 -0000 1.77 +++ embed/mozilla/MozDownload.cpp 22 Dec 2005 18:23:08 -0000 @@ -486,7 +486,10 @@ MozDownload::OnStateChange (nsIWebProgre helperApp = gnome_vfs_mime_application_new_from_desktop_id (str[2]); if (!helperApp) return NS_ERROR_FAILURE; - + + const char *appid = gnome_vfs_mime_application_get_desktop_id (helperApp); + if (appid && strcmp (appid, "epiphany.desktop") == 0) return NS_OK; + nsEmbedCString aDest; rv = mDestination->GetSpec (aDest); NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);