mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 05:19:18 +03:00
Re-arrange menu to better conform to the Style Guide
This commit is contained in:
parent
a479e8d18a
commit
0f79676d85
@ -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_alloc_item(gwin, M_SAVEIFF, NM_SUB, "IFF", 0, NULL,
|
||||||
ami_menu_item_project_save, (void *)AMINS_SAVE_IFF);
|
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_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_alloc_item(gwin, M_CLOSETAB, NM_ITEM, "CloseTab", 'K', NULL,
|
||||||
ami_menu_item_project_closetab, NULL);
|
ami_menu_item_project_closetab, NULL);
|
||||||
ami_menu_alloc_item(gwin, M_CLOSEWIN, NM_ITEM, "CloseWindow", 0, NULL,
|
ami_menu_alloc_item(gwin, M_CLOSEWIN, NM_ITEM, "CloseWindow", 0, NULL,
|
||||||
ami_menu_item_project_closewin, 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_alloc_item(gwin, M_ABOUT, NM_ITEM, "About", '?', NULL,
|
||||||
ami_menu_item_project_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_alloc_item(gwin, M_QUIT, NM_ITEM, "Quit", 'Q', NULL,
|
||||||
ami_menu_item_project_quit, NULL);
|
ami_menu_item_project_quit, NULL);
|
||||||
|
|
||||||
|
@ -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/
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
||||||
*
|
*
|
||||||
@ -46,12 +46,13 @@ enum {
|
|||||||
M_SAVEPDF,
|
M_SAVEPDF,
|
||||||
#endif
|
#endif
|
||||||
M_BAR_P2,
|
M_BAR_P2,
|
||||||
|
M_PRINT,
|
||||||
|
M_BAR_P3,
|
||||||
M_CLOSETAB,
|
M_CLOSETAB,
|
||||||
M_CLOSEWIN,
|
M_CLOSEWIN,
|
||||||
M_BAR_P3,
|
|
||||||
M_PRINT,
|
|
||||||
M_BAR_P4,
|
M_BAR_P4,
|
||||||
M_ABOUT,
|
M_ABOUT,
|
||||||
|
M_BAR_P5,
|
||||||
M_QUIT,
|
M_QUIT,
|
||||||
/* Edit menu */
|
/* Edit menu */
|
||||||
M_EDIT,
|
M_EDIT,
|
||||||
|
Loading…
Reference in New Issue
Block a user