diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-03-08 14:41:10 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-08 08:48:52 -0800 |
commit | 29be221bd877e345db8f191078796e111feb0b71 (patch) | |
tree | 53d94c1b9b1da94837cdada708e6f8f934ce6c91 /gtk-gui.c | |
parent | 4401132836fdb8798c4dbe07b5c7ae1e0112f248 (diff) | |
download | subsurface-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.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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\" /> \ |