Commit cf495d22 authored by Sven Neumann's avatar Sven Neumann

applied patch from Daniel Egger that enables menu shortcuts for the

toolbox menus


--Sven
parent 9ac098c3
Thu Feb 24 18:44:58 CET 2000 Sven Neumann <sven@gimp.org>
* app/menus.c: Applied patch provided by Daniel Egger that
enables shortcuts for the toolbox menus. Nice for tall toolbox
layouts.
Thu Feb 24 17:06:02 CET 2000 Sven Neumann <sven@gimp.org>
* app/fileops_cmds.c
......
......@@ -122,7 +122,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
{
/* <Toolbox>/File */
{ { N_("/File"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_File"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/File/New..."), "<control>N", file_new_cmd_callback, 0 },
"file/dialogs/file_new.html", NULL },
......@@ -193,7 +193,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Xtns */
{ { N_("/Xtns"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Xtns"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Xtns/Module Browser..."), NULL, dialogs_module_browser_cmd_callback, 0 },
"dialogs/module_browser.html", NULL },
......@@ -203,7 +203,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Help */
{ { N_("/Help"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Help/Help..."), "F1", help_help_cmd_callback, 0 },
"help/dialogs/help.html", NULL },
......@@ -1781,7 +1781,6 @@ menu_translate (const gchar *path,
gchar *factory;
gchar *translation;
gchar *domain = NULL;
gint i;
factory = (gchar *) data;
......
......@@ -122,7 +122,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
{
/* <Toolbox>/File */
{ { N_("/File"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_File"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/File/New..."), "<control>N", file_new_cmd_callback, 0 },
"file/dialogs/file_new.html", NULL },
......@@ -193,7 +193,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Xtns */
{ { N_("/Xtns"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Xtns"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Xtns/Module Browser..."), NULL, dialogs_module_browser_cmd_callback, 0 },
"dialogs/module_browser.html", NULL },
......@@ -203,7 +203,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Help */
{ { N_("/Help"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Help/Help..."), "F1", help_help_cmd_callback, 0 },
"help/dialogs/help.html", NULL },
......@@ -1781,7 +1781,6 @@ menu_translate (const gchar *path,
gchar *factory;
gchar *translation;
gchar *domain = NULL;
gint i;
factory = (gchar *) data;
......
......@@ -122,7 +122,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
{
/* <Toolbox>/File */
{ { N_("/File"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_File"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/File/New..."), "<control>N", file_new_cmd_callback, 0 },
"file/dialogs/file_new.html", NULL },
......@@ -193,7 +193,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Xtns */
{ { N_("/Xtns"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Xtns"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Xtns/Module Browser..."), NULL, dialogs_module_browser_cmd_callback, 0 },
"dialogs/module_browser.html", NULL },
......@@ -203,7 +203,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Help */
{ { N_("/Help"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Help/Help..."), "F1", help_help_cmd_callback, 0 },
"help/dialogs/help.html", NULL },
......@@ -1781,7 +1781,6 @@ menu_translate (const gchar *path,
gchar *factory;
gchar *translation;
gchar *domain = NULL;
gint i;
factory = (gchar *) data;
......
......@@ -122,7 +122,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
{
/* <Toolbox>/File */
{ { N_("/File"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_File"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/File/New..."), "<control>N", file_new_cmd_callback, 0 },
"file/dialogs/file_new.html", NULL },
......@@ -193,7 +193,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Xtns */
{ { N_("/Xtns"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Xtns"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Xtns/Module Browser..."), NULL, dialogs_module_browser_cmd_callback, 0 },
"dialogs/module_browser.html", NULL },
......@@ -203,7 +203,7 @@ static GimpItemFactoryEntry toolbox_entries[] =
/* <Toolbox>/Help */
{ { N_("/Help"), NULL, NULL, 0, "<Branch>" },
{ { N_("/_Help"), NULL, NULL, 0, "<Branch>" },
NULL, NULL },
{ { N_("/Help/Help..."), "F1", help_help_cmd_callback, 0 },
"help/dialogs/help.html", NULL },
......@@ -1781,7 +1781,6 @@ menu_translate (const gchar *path,
gchar *factory;
gchar *translation;
gchar *domain = NULL;
gint i;
factory = (gchar *) data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment