From 04f79fb22493fe73dae87235237587ad2498f309 Mon Sep 17 00:00:00 2001 From: yabause Date: Sat, 11 Jul 2009 22:07:35 +0000 Subject: [PATCH] recent files now use a better mime type (at least, something that's already used) --- desmume/src/gtk/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 6e5ced03c..3b3a6a23d 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -916,7 +916,7 @@ static void OpenNdsDialog() #ifdef HAVE_RECENT_FILES GtkRecentData recentData; memset(&recentData, 0, sizeof(GtkRecentData)); - recentData.mime_type = "application/x-nds-binary"; + recentData.mime_type = "application/x-nintendo-ds-rom"; recentData.app_name = (gchar *) g_get_application_name (); recentData.app_exec = g_strjoin (" ", g_get_prgname (), "%f", NULL); @@ -1908,7 +1908,7 @@ common_gtk_main( struct configured_features *my_config) GtkWidget * recentMenu = gtk_ui_manager_get_widget (ui_manager, "/MainMenu/FileMenu/RecentMenu"); GtkWidget * recentFiles = gtk_recent_chooser_menu_new(); GtkRecentFilter * recentFilter = gtk_recent_filter_new(); - gtk_recent_filter_add_mime_type(recentFilter, "application/x-nds-binary"); + gtk_recent_filter_add_mime_type(recentFilter, "application/x-nintendo-ds-rom"); gtk_recent_chooser_set_filter(GTK_RECENT_CHOOSER(recentFiles), recentFilter); gtk_menu_item_set_submenu(GTK_MENU_ITEM(recentMenu), recentFiles); g_signal_connect(G_OBJECT(recentFiles), "item-activated", G_CALLBACK(OpenRecent), NULL);