From 420e80dfd742bc2387741d8650d353a20c36e8c5 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Mon, 24 Oct 2016 23:21:30 +0300 Subject: Convert RID_MENU_APP_NEW to xml Achieved by using GenericPopupToolbarController for the associated toolbar button. Change-Id: I406ff40e0c80d6db903de5629088d35487ab6416 --- .../data/org/openoffice/Office/UI/Controller.xcu | 19 ++++++++++++++++++- .../data/org/openoffice/Office/UI/DbuCommands.xcu | 12 ++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'officecfg/registry') diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu index c91e8e1d0e6b..4ef4e4bc1572 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu @@ -397,6 +397,20 @@ com.sun.star.comp.framework.ToolbarModeMenuController + + + .uno:DBNewMenu + + + com.sun.star.sdb.OfficeDatabaseDocument + + + com.sun.star.comp.framework.ResourceMenuController + + + new + + @@ -673,7 +687,10 @@ com.sun.star.sdb.OfficeDatabaseDocument - com.sun.star.sdb.ApplicationToolboxController + com.sun.star.comp.framework.GenericPopupToolbarController + + + .uno:DBNewMenu;1 diff --git a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu index 6b9ef33086d3..81deeef828ee 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu @@ -367,6 +367,9 @@ Query (Design View)... + + New ~Query (Design View) + 1 @@ -375,6 +378,9 @@ Query (SQL View)... + + New Query (~SQL View) + 1 @@ -383,6 +389,9 @@ Table Design... + + New ~Table Design + 1 @@ -391,6 +400,9 @@ View Design... + + New ~View Design + 1 -- cgit