Commit 4a81183c authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Don't create application/x-ext-<extension> types for known mimetypes

2008-03-13  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-application-chooser.c:
        (set_extension_and_description):
	Don't create application/x-ext-<extension> types for known mimetypes



svn path=/trunk/; revision=13931
parent 3baed998
2008-03-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-mime-application-chooser.c:
(set_extension_and_description):
Don't create application/x-ext-<extension> types for known mimetypes
2008-03-12 Cosimo Cecchi <cosimoc@gnome.org>
* src/nautilus-property-browser.c:
......
......@@ -599,9 +599,9 @@ set_extension_and_description (NautilusMimeApplicationChooser *chooser,
const char *extension,
const char *mime_type)
{
chooser->details->extension = g_strdup (extension);
if (extension != NULL &&
g_content_type_is_unknown (mime_type)) {
chooser->details->extension = g_strdup (extension);
chooser->details->content_type = g_strdup_printf ("application/x-extension-%s", extension);
/* the %s here is a file extension */
chooser->details->type_description =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment