[gnumeric] GUI: Rename menu action to use proper prefix.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: Rename menu action to use proper prefix.
- Date: Tue, 23 Mar 2010 17:19:26 +0000 (UTC)
commit 9c5d992dd06d41f6d1eac214bb411fd95fe3ec88
Author: Morten Welinder <terra gnome org>
Date: Tue Mar 23 13:18:58 2010 -0400
GUI: Rename menu action to use proper prefix.
src/GNOME_Gnumeric-gtk.xml.in | 2 +-
src/wbc-gtk-actions.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/GNOME_Gnumeric-gtk.xml.in b/src/GNOME_Gnumeric-gtk.xml.in
index 836b96a..73e85f5 100644
--- a/src/GNOME_Gnumeric-gtk.xml.in
+++ b/src/GNOME_Gnumeric-gtk.xml.in
@@ -3,7 +3,7 @@
<menubar>
<menu name="File" action="MenuFile">
<menuitem action="FileNew"/>
- <menu name="Templates" action="FileNewFromTemplate">
+ <menu name="Templates" action="MenuFileNewFromTemplate">
</menu>
<menuitem action="FileOpen"/>
<separator name="file-sep1"/>
diff --git a/src/wbc-gtk-actions.c b/src/wbc-gtk-actions.c
index 6b94847..973a758 100644
--- a/src/wbc-gtk-actions.c
+++ b/src/wbc-gtk-actions.c
@@ -1692,6 +1692,8 @@ static GNM_ACTION_DEF (cb_file_menu)
/* Actions that are always sensitive */
static GtkActionEntry const permanent_actions[] = {
{ "MenuFile", NULL, N_("_File"), NULL, NULL, G_CALLBACK (cb_file_menu) },
+ { "MenuFileNewFromTemplate", GTK_STOCK_NEW,
+ N_("New From Template"), "" },
{ "MenuEdit", NULL, N_("_Edit") },
{ "MenuEditClear", GTK_STOCK_CLEAR, N_("C_lear") },
{ "MenuEditDelete", GTK_STOCK_DELETE, N_("_Delete") },
@@ -1727,7 +1729,6 @@ static GtkActionEntry const permanent_actions[] = {
{ "FileNew", GTK_STOCK_NEW, NULL,
NULL, N_("Create a new workbook"),
G_CALLBACK (cb_file_new) },
- { "FileNewFromTemplate", GTK_STOCK_NEW, N_("New From Template"), "" },
{ "FileOpen", GTK_STOCK_OPEN, NULL,
NULL, N_("Open a file"),
G_CALLBACK (cb_file_open) },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]