GNOME Bugzilla – Bug 535830
wrong content type adding an item
Last modified: 2008-05-31 18:54:46 UTC
In gtk_recent_manager_add_item, g_file_query_info_async is used with fast_content_type attribute, but in the callback function g_file_info_get_content_type() is called in order to get the content type. That's wrong because such function returns the content_type attribute, but not the fast_content_type.
Created attachment 111818 [details] [review] Patch This patch fixes the problem
thanks, fixed in trunk. 2008-05-31 Emmanuele Bassi <ebassi@gnome.org> Bug 535830 – wrong content type adding an item * gtk/gtkrecentmanager.c: (gtk_recent_manager_add_item_query_info): Use the correct API for retrieving the fast MIME type of a URI. (Carlos Garcia Campos)