summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-07-19 17:42:25 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-07-19 17:42:25 +0100
commit0f79676d85bcdd5e5ff1192444bb9c38205728e8 (patch)
tree9b1154b9a3df07a1d3e95e94be50788cfae25c15 /amiga
parenta479e8d18a464280fdf85aebd7cbf74a3fba301f (diff)
downloadnetsurf-0f79676d85bcdd5e5ff1192444bb9c38205728e8.tar.gz
Re-arrange menu to better conform to the Style Guide
Diffstat (limited to 'amiga')
-rw-r--r--amiga/menu.c9
-rwxr-xr-xamiga/menu.h7
2 files changed, 9 insertions, 7 deletions
diff --git a/amiga/menu.c b/amiga/menu.c
index 3e9ac9708..ef1338cc8 100644
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -199,16 +199,17 @@ void ami_init_menulabs(struct gui_window_2 *gwin)
ami_menu_alloc_item(gwin, M_SAVEIFF, NM_SUB, "IFF", 0, NULL,
ami_menu_item_project_save, (void *)AMINS_SAVE_IFF);
ami_menu_alloc_item(gwin, M_BAR_P2, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
+ ami_menu_alloc_item(gwin, M_PRINT, NM_ITEM, "PrintNS", 'P', NULL,
+ ami_menu_item_project_print, NULL);
+ ami_menu_alloc_item(gwin, M_BAR_P3, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
ami_menu_alloc_item(gwin, M_CLOSETAB, NM_ITEM, "CloseTab", 'K', NULL,
ami_menu_item_project_closetab, NULL);
ami_menu_alloc_item(gwin, M_CLOSEWIN, NM_ITEM, "CloseWindow", 0, NULL,
ami_menu_item_project_closewin, NULL);
- ami_menu_alloc_item(gwin, M_BAR_P3, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
- ami_menu_alloc_item(gwin, M_PRINT, NM_ITEM, "PrintNS", 'P', NULL,
- ami_menu_item_project_print, NULL);
- ami_menu_alloc_item(gwin, M_BAR_P4, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
+ ami_menu_alloc_item(gwin, M_BAR_P4, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
ami_menu_alloc_item(gwin, M_ABOUT, NM_ITEM, "About", '?', NULL,
ami_menu_item_project_about, NULL);
+ ami_menu_alloc_item(gwin, M_BAR_P5, NM_ITEM, NM_BARLABEL, 0, NULL, NULL, NULL);
ami_menu_alloc_item(gwin, M_QUIT, NM_ITEM, "Quit", 'Q', NULL,
ami_menu_item_project_quit, NULL);
diff --git a/amiga/menu.h b/amiga/menu.h
index e96fcf0ee..47c848e96 100755
--- a/amiga/menu.h
+++ b/amiga/menu.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008,2009 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ * Copyright 2008,2009,2013 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@@ -46,12 +46,13 @@ enum {
M_SAVEPDF,
#endif
M_BAR_P2,
+ M_PRINT,
+ M_BAR_P3,
M_CLOSETAB,
M_CLOSEWIN,
- M_BAR_P3,
- M_PRINT,
M_BAR_P4,
M_ABOUT,
+ M_BAR_P5,
M_QUIT,
/* Edit menu */
M_EDIT,