Commit 8f40831c authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Compare types using gnome_vfs_mime_type_is_equal to catch aliases. Fixes

2004-08-16  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (nautilus_file_is_mime_type):
	Compare types using gnome_vfs_mime_type_is_equal to catch aliases.
	Fixes bug #147811
parent 16f2151c
2004-08-16 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_is_mime_type):
Compare types using gnome_vfs_mime_type_is_equal to catch aliases.
Fixes bug #147811
2004-08-16 Alexander Larsson <alexl@redhat.com>
* src/nautilus-property-browser.c:
......
......@@ -4852,8 +4852,8 @@ nautilus_file_is_mime_type (NautilusFile *file, const char *mime_type)
if (file->details->info == NULL) {
return FALSE;
}
return eel_strcasecmp (file->details->info->mime_type,
mime_type) == 0;
return gnome_vfs_mime_type_is_equal (file->details->info->mime_type,
mime_type);
}
/**
......
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