summaryrefslogtreecommitdiff
path: root/officecfg/registry
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-10-24 23:21:30 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-10-27 11:05:38 +0300
commit420e80dfd742bc2387741d8650d353a20c36e8c5 (patch)
treec377f6539cca34036782991decb0b2e53a2aaf9e /officecfg/registry
parent074449ee349ccfe67466fb1aa63f96e8792334aa (diff)
Convert RID_MENU_APP_NEW to xml
Achieved by using GenericPopupToolbarController for the associated toolbar button. Change-Id: I406ff40e0c80d6db903de5629088d35487ab6416
Diffstat (limited to 'officecfg/registry')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu19
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu12
2 files changed, 30 insertions, 1 deletions
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 @@
<value>com.sun.star.comp.framework.ToolbarModeMenuController</value>
</prop>
</node>
+ <node oor:name="c33" oor:op="replace">
+ <prop oor:name="Command">
+ <value>.uno:DBNewMenu</value>
+ </prop>
+ <prop oor:name="Module">
+ <value>com.sun.star.sdb.OfficeDatabaseDocument</value>
+ </prop>
+ <prop oor:name="Controller">
+ <value>com.sun.star.comp.framework.ResourceMenuController</value>
+ </prop>
+ <prop oor:name="Value">
+ <value>new</value>
+ </prop>
+ </node>
</node>
<node oor:name="ToolBar">
<node oor:name="ZoomToolBox" oor:op="replace">
@@ -673,7 +687,10 @@
<value>com.sun.star.sdb.OfficeDatabaseDocument</value>
</prop>
<prop oor:name="Controller">
- <value>com.sun.star.sdb.ApplicationToolboxController</value>
+ <value>com.sun.star.comp.framework.GenericPopupToolbarController</value>
+ </prop>
+ <prop oor:name="Value">
+ <value>.uno:DBNewMenu;1</value>
</prop>
</node>
<node oor:name="org.libreoffice.comp.dbu.LimitBoxController" oor:op="replace">
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 @@
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Query (Design View)...</value>
</prop>
+ <prop oor:name="PopupLabel" oor:type="xs:string">
+ <value xml:lang="en-US">New ~Query (Design View)</value>
+ </prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
</prop>
@@ -375,6 +378,9 @@
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Query (SQL View)...</value>
</prop>
+ <prop oor:name="PopupLabel" oor:type="xs:string">
+ <value xml:lang="en-US">New Query (~SQL View)</value>
+ </prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
</prop>
@@ -383,6 +389,9 @@
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Table Design...</value>
</prop>
+ <prop oor:name="PopupLabel" oor:type="xs:string">
+ <value xml:lang="en-US">New ~Table Design</value>
+ </prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
</prop>
@@ -391,6 +400,9 @@
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">View Design...</value>
</prop>
+ <prop oor:name="PopupLabel" oor:type="xs:string">
+ <value xml:lang="en-US">New ~View Design</value>
+ </prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
</prop>