diff --git a/desmume/src/gtk/dTool.h b/desmume/src/gtk/dTool.h
index e758f8aa5..82685b3f7 100644
--- a/desmume/src/gtk/dTool.h
+++ b/desmume/src/gtk/dTool.h
@@ -10,7 +10,9 @@ typedef void (*dTool_closeFn)();
typedef struct
{
- const char name[64];
+ /* this should be the same name of the action in the gui xml */
+ const char shortname[16];
+ const char name[32];
dTool_openFn open;
dTool_updateFn update;
dTool_closeFn close;
diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp
index b41ed62f3..600feb80e 100644
--- a/desmume/src/gtk/main.cpp
+++ b/desmume/src/gtk/main.cpp
@@ -226,7 +226,7 @@ static const char *ui_description =
" "
" "
"
"
"