summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-03-08 14:41:10 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-08 08:48:52 -0800
commit29be221bd877e345db8f191078796e111feb0b71 (patch)
tree53d94c1b9b1da94837cdada708e6f8f934ce6c91 /gtk-gui.c
parent4401132836fdb8798c4dbe07b5c7ae1e0112f248 (diff)
downloadsubsurface-29be221bd877e345db8f191078796e111feb0b71.tar.gz
Reorganise view menus and file import.
Move the view submenu to a top level location. Alter the wording of File|Import to drop XML qualifier; we import more formats than this. Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 3958f93aa..153309b24 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -1497,7 +1497,7 @@ static GtkActionEntry menu_items[] = {
{ "SaveAsFile", GTK_STOCK_SAVE_AS, N_("Save As..."), SHIFTCHAR CTRLCHAR "S", NULL, G_CALLBACK(file_save_as) },
{ "CloseFile", GTK_STOCK_CLOSE, N_("Close"), NULL, NULL, G_CALLBACK(file_close) },
{ "Print", GTK_STOCK_PRINT, N_("Print..."), CTRLCHAR "P", NULL, G_CALLBACK(do_print) },
- { "ImportFile", NULL, N_("Import XML File(s)..."), CTRLCHAR "I", NULL, G_CALLBACK(import_files) },
+ { "ImportFile", NULL, N_("Import File(s)..."), CTRLCHAR "I", NULL, G_CALLBACK(import_files) },
{ "DownloadLog", NULL, N_("Download From Dive Computer..."), CTRLCHAR "D", NULL, G_CALLBACK(download_dialog) },
{ "DownloadWeb", GTK_STOCK_CONNECT, N_("Download From Web Service..."), NULL, NULL, G_CALLBACK(webservice_download_dialog) },
{ "AddDive", GTK_STOCK_ADD, N_("Add Dive..."), NULL, NULL, G_CALLBACK(add_dive_cb) },
@@ -1556,18 +1556,18 @@ static const gchar* ui_string = " \
<menuitem name=\"Renumber\" action=\"Renumber\" /> \
<menuitem name=\"Autogroup\" action=\"Autogroup\" /> \
<menuitem name=\"Toggle Zoom\" action=\"ToggleZoom\" /> \
- <menuitem name=\"YearlyStats\" action=\"YearlyStats\" /> "
+ <menuitem name=\"YearlyStats\" action=\"YearlyStats\" />"
#if HAVE_OSM_GPS_MAP
- "<menuitem name=\"DivesLocations\" action=\"DivesLocations\" /> "
+ "<menuitem name=\"Dive Locations\" action=\"DivesLocations\" /> "
#endif
- "<menu name=\"View\" action=\"ViewMenuAction\"> \
- <menuitem name=\"List\" action=\"ViewList\" /> \
- <menuitem name=\"Profile\" action=\"ViewProfile\" /> \
- <menuitem name=\"Info\" action=\"ViewInfo\" /> \
- <menuitem name=\"Paned\" action=\"ViewThree\" /> \
- <menuitem name=\"PrevDC\" action=\"PrevDC\" /> \
- <menuitem name=\"NextDC\" action=\"NextDC\" /> \
- </menu> \
+ "</menu> \
+ <menu name=\"ViewMenu\" action=\"ViewMenuAction\"> \
+ <menuitem name=\"List\" action=\"ViewList\" /> \
+ <menuitem name=\"Profile\" action=\"ViewProfile\" /> \
+ <menuitem name=\"Info\" action=\"ViewInfo\" /> \
+ <menuitem name=\"Paned\" action=\"ViewThree\" /> \
+ <menuitem name=\"PrevDC\" action=\"PrevDC\" /> \
+ <menuitem name=\"NextDC\" action=\"NextDC\" /> \
</menu> \
<menu name=\"FilterMenu\" action=\"FilterMenuAction\"> \
<menuitem name=\"SelectEvents\" action=\"SelectEvents\" /> \