summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2014-11-16 09:55:23 +0400
committerCaolán McNamara <caolanm@redhat.com>2014-11-18 09:29:00 +0000
commitd72e987c545a56284047b5a70deea1bf99e55062 (patch)
tree7e677bf6acb8e7e871a20edc517ced53cc4414ab
parentd38f7b74daf91ad47557bf8eca8946fd0ad97cf8 (diff)
fdo#84909 add distribution selection to drawing toolbar
Change-Id: I26ee0cb8529b0a1bea354d2ac003cfc1efb9ced3 Reviewed-on: https://gerrit.libreoffice.org/12471 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--icon-themes/galaxy/cmd/lc_distributeselection.pngbin0 -> 781 bytes
-rw-r--r--icon-themes/galaxy/cmd/sc_distributeselection.pngbin0 -> 436 bytes
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu3
-rw-r--r--sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml1
-rw-r--r--sd/uiconfig/simpress/toolbar/drawingobjectbar.xml1
5 files changed, 5 insertions, 0 deletions
diff --git a/icon-themes/galaxy/cmd/lc_distributeselection.png b/icon-themes/galaxy/cmd/lc_distributeselection.png
new file mode 100644
index 000000000000..d7470f12bef8
--- /dev/null
+++ b/icon-themes/galaxy/cmd/lc_distributeselection.png
Binary files differ
diff --git a/icon-themes/galaxy/cmd/sc_distributeselection.png b/icon-themes/galaxy/cmd/sc_distributeselection.png
new file mode 100644
index 000000000000..8d3030ac0f39
--- /dev/null
+++ b/icon-themes/galaxy/cmd/sc_distributeselection.png
Binary files differ
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index c94a35deebe2..8b15921d2aa6 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -3353,6 +3353,9 @@
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">~Distribution...</value>
</prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
</node>
<node oor:name=".uno:ParagraphDialog" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
diff --git a/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml b/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml
index c6aa88c5f3d1..ea0b79cdc4cc 100644
--- a/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml
+++ b/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml
@@ -41,4 +41,5 @@
<toolbar:toolbaritem xlink:href=".uno:TransformDialog"/>
<toolbar:toolbaritem xlink:href=".uno:ObjectAlign" toolbar:style="dropdown"/>
<toolbar:toolbaritem xlink:href=".uno:ObjectPosition" toolbar:style="dropdown"/>
+ <toolbar:toolbaritem xlink:href=".uno:DistributeSelection"/>
</toolbar:toolbar>
diff --git a/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml b/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml
index 4049f9026ae5..79a037fa1f22 100644
--- a/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml
+++ b/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml
@@ -41,6 +41,7 @@
<toolbar:toolbaritem xlink:href=".uno:Mirror" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:ObjectAlign" toolbar:style="dropdown"/>
<toolbar:toolbaritem xlink:href=".uno:ObjectPosition" toolbar:style="dropdown"/>
+ <toolbar:toolbaritem xlink:href=".uno:DistributeSelection"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:CustomAnimation" toolbar:style="auto" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:AnimationEffects"/>