6b3a111bef
(patch from head) - Fix a crash in the Properties dialog while changing owner (patch from head)
14 lines
646 B
Diff
14 lines
646 B
Diff
--- trunk/libnautilus-private/nautilus-mime-application-chooser.c 2008/02/20 15:11:17 13784
|
|
+++ trunk/libnautilus-private/nautilus-mime-application-chooser.c 2008/03/13 15:11:05 13931
|
|
@@ -599,9 +599,9 @@
|
|
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 =
|