gtk port: add a FIXME

This commit is contained in:
matusz 2009-04-23 01:06:36 +00:00
parent 76885cefc2
commit 57feffc70d
1 changed files with 1 additions and 1 deletions

View File

@ -1826,12 +1826,12 @@ static void desmume_gtk_menu_config (GtkWidget *pMenuBar, int act_savetype)
} }
#endif #endif
// { "ioregtool", NULL, "_IO regs view", NULL, NULL, Edit_Controls },
static void desmume_gtk_menu_tools (GtkActionGroup *ag) static void desmume_gtk_menu_tools (GtkActionGroup *ag)
{ {
gint i; gint i;
for(i = 0; i < dTools_list_size; i++) { for(i = 0; i < dTools_list_size; i++) {
GtkAction *act; GtkAction *act;
//FIXME: remove hardcoded 'ioregtool' from here and in ui_description
act = gtk_action_new("ioregtool", dTools_list[i]->name, NULL, NULL); act = gtk_action_new("ioregtool", dTools_list[i]->name, NULL, NULL);
g_signal_connect(G_OBJECT(act), "activate", G_CALLBACK(Start_dTool), GINT_TO_POINTER(i)); g_signal_connect(G_OBJECT(act), "activate", G_CALLBACK(Start_dTool), GINT_TO_POINTER(i));
gtk_action_group_add_action(ag, GTK_ACTION(act)); gtk_action_group_add_action(ag, GTK_ACTION(act));