diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-15 21:02:49 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-16 13:07:58 +0000 |
commit | 535f2b2b0a21407c4412d14149d271a199c3e6b8 (patch) | |
tree | 934fbcebf62de9ace52d160f34ae018c99304058 /sfx2/source/dialog | |
parent | c5555c1698665011457147b1f15ea00f04665a05 (diff) |
Convert RID_MENU_NOTEBOOKBAR to xml
Brings a lot of features (icons, keyboard shortcuts,
customization, context menu interception etc.)
Other changes:
- Make SfxDispatcher::ExecutePopup take PopupMenuFlags
arg, to be able to pass NoMouseUpClose, so that the
menu won't close on mouse-up under anything != gtk3.
- Make .uno:OpenFromWriter and .uno:OpenFromCalc async
slots, to avoid crash under gtk3 when recycling the
current frame.
- Don't show the menu in customization dialog, if
experimental mode disabled.
Change-Id: Ieea2f73f6b48fbaf4bdfc4acf1a33d25422357cb
Reviewed-on: https://gerrit.libreoffice.org/33101
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/dialog.src | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/sfx2/source/dialog/dialog.src b/sfx2/source/dialog/dialog.src index 1c77c86e6ec6..60128b6c3884 100644 --- a/sfx2/source/dialog/dialog.src +++ b/sfx2/source/dialog/dialog.src @@ -126,59 +126,4 @@ String STR_PREVIEW_CHECKBOX Text [ en-US ] = "Show Previews"; }; -Menu RID_MENU_NOTEBOOKBAR -{ - ItemList = - { - MenuItem - { - Identifier = SID_OPENDOC; - Command = ".uno:Open"; - Text [ en-US ] = "Open..." ; - }; - MenuItem - { - Identifier = SID_SAVEDOC; - Command = ".uno:Save"; - Text [ en-US ] = "Save" ; - }; - MenuItem - { - Identifier = SID_UNDO; - Command = ".uno:Undo"; - Text [ en-US ] = "Undo" ; - }; - MenuItem - { - Identifier = SID_REDO; - Command = ".uno:Redo"; - Text [ en-US ] = "Redo" ; - }; - MenuItem - { - Identifier = SID_PRINTDOC; - Command = ".uno:Print"; - Text [ en-US ] = "Print" ; - }; - MenuItem - { - Identifier = SID_MENUBAR; - Command = ".uno:Menubar"; - Text [ en-US ] = "Menubar" ; - }; - MenuItem - { - Identifier = SID_OPTIONS; - Command = ".uno:OptionsTreeDialog"; - Text [ en-US ] = "Options" ; - }; - MenuItem - { - Identifier = SID_CLOSEDOC; - Command = ".uno:CloseDoc"; - Text [ en-US ] = "Close" ; - }; - }; -}; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |