From 535f2b2b0a21407c4412d14149d271a199c3e6b8 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 15 Jan 2017 21:02:49 +0200 Subject: 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 Reviewed-by: Maxim Monastirsky --- sc/uiconfig/scalc/popupmenu/notebookbar.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sc/uiconfig/scalc/popupmenu/notebookbar.xml (limited to 'sc/uiconfig') diff --git a/sc/uiconfig/scalc/popupmenu/notebookbar.xml b/sc/uiconfig/scalc/popupmenu/notebookbar.xml new file mode 100644 index 000000000000..29356d5c8281 --- /dev/null +++ b/sc/uiconfig/scalc/popupmenu/notebookbar.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + -- cgit