Comment 64 for bug 260492

Revision history for this message
A. Walton (awalton) wrote :

I'm not convinced the patch is correct; you're incorrectly looking for the "nautilus" .desktop file, when we install one specifically for browsing folders (namely nautilus-folder-handler.desktop, which uses the commandline nautilus --no-desktop %U). Ideally we'd just set_as_default_for_type that specific entry, by looking it up by id (the "Name" field of the desktop entry file; "Open Folder").

This also looks a bit bogus to me:
+ g_warning("inode/directory points to '%s' - fixing", g_app_info_get_executable(app), "nautilus");