From 3f4091d6fe27b2603064eead3419e13229fc5e8f Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 23 Mar 2009 21:28:36 +0000 Subject: [PATCH] Move saves menu under emulation to keep the gtk window size the same of the display. --- 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 1bd7475f6..a86a24704 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -1475,7 +1475,7 @@ static void changesavetype(GtkCheckMenuItem *checkmenuitem, gpointer type) mmu_select_savetype(GPOINTER_TO_INT(type), &backupmemorytype, &backupmemorysize); } -static void desmume_gtk_menu_saves (GtkWidget *pMenu) +static void desmume_gtk_menu_emulation_saves (GtkWidget *pMenu) { GtkWidget *pMenuItem, *pSubmenu, *item; GSList * list; @@ -1624,6 +1624,7 @@ static void desmume_gtk_menu_emulation (GtkWidget *pMenuBar, gboolean opengl) desmume_gtk_menu_emulation_disable_audio(pMenu); desmume_gtk_menu_emulation_frameskip(pMenu); + desmume_gtk_menu_emulation_saves(pMenu); desmume_gtk_menu_emulation_layers(pMenu, opengl); #ifdef BROKEN_SCREENSIZE desmume_gtk_menu_emulation_display_size(pMenu, opengl); @@ -1852,7 +1853,6 @@ common_gtk_main( struct configured_features *my_config) pMenuBar = gtk_menu_bar_new(); desmume_gtk_menu_file(pMenuBar); - desmume_gtk_menu_saves(pMenuBar); desmume_gtk_menu_emulation(pMenuBar, my_config->opengl); desmume_gtk_menu_config(pMenuBar); desmume_gtk_menu_tools(pMenuBar);