[patch] Add directory mime types to the folder desktop file



Hi,

Attached is a patch which adds x-directory/normal and inode/directory to
the list of mime types that nautilus-folder-handler.desktop handles.
Otherwise, if presented with inode/directory, my desktop opens
konqueror. :)

(On a related note, gnomevfs-info on a directory usually presents me
with a mimetype of x-directory/normal.  Shouldn't that be deprecated in
favor of inode/directory?  The latter is in the shared MIME spec.  The
former isn't.)

Please CC me, I'm not on the list.

Joe
? nautilus-directory-mime-types.patch
Index: nautilus-folder-handler.desktop.in
===================================================================
RCS file: /cvs/gnome/nautilus/nautilus-folder-handler.desktop.in,v
retrieving revision 1.3
diff -u -p -u -r1.3 nautilus-folder-handler.desktop.in
--- nautilus-folder-handler.desktop.in	17 May 2005 09:13:44 -0000	1.3
+++ nautilus-folder-handler.desktop.in	1 Jul 2005 21:47:14 -0000
@@ -7,7 +7,7 @@ NoDisplay=true
 Terminal=false
 StartupNotify=true
 Type=Application
-MimeType=x-directory/gnome-default-handler
+MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=nautilus
 X-GNOME-Bugzilla-Component=general


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