summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc/ui
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-05 12:05:17 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-05 18:32:57 +0200
commite9cfaf1d29c66157b3bdc4bd4278cd3b5c90a29c (patch)
treedfcef7eaf0426eb0aff3fa359f2ffa14c1a2365d /sc/uiconfig/scalc/ui
parentd14933447c6e9a94a341d5385ada59ec322748bd (diff)
sidebar conversion tutorial: Introduce action commands in the .ui and .cxx.
We will address the toolbox buttons in the .ui via the string constants. Change-Id: I86dc101276de0d5487de3feb772381b76880dd23
Diffstat (limited to 'sc/uiconfig/scalc/ui')
-rw-r--r--sc/uiconfig/scalc/ui/sidebaralignment.ui19
1 files changed, 7 insertions, 12 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebaralignment.ui b/sc/uiconfig/scalc/ui/sidebaralignment.ui
index d14b34d97831..23335e290d0b 100644
--- a/sc/uiconfig/scalc/ui/sidebaralignment.ui
+++ b/sc/uiconfig/scalc/ui/sidebaralignment.ui
@@ -29,12 +29,10 @@
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Left-align</property>
<property name="valign">start</property>
<property name="use_action_appearance">False</property>
- <property name="action_name">.uno:Bold</property>
+ <property name="action_name">.uno:AlignLeft</property>
<property name="use_underline">True</property>
- <property name="stock_id">gtk-justify-left</property>
</object>
<packing>
<property name="expand">False</property>
@@ -46,11 +44,9 @@
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Center-align</property>
<property name="use_action_appearance">False</property>
- <property name="action_name">.uno:Italic</property>
+ <property name="action_name">.uno:AlignHorizontalCenter</property>
<property name="use_underline">True</property>
- <property name="stock_id">gtk-justify-center</property>
</object>
<packing>
<property name="expand">False</property>
@@ -62,11 +58,9 @@
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Right-align</property>
<property name="use_action_appearance">False</property>
- <property name="action_name">.uno:Underline</property>
+ <property name="action_name">.uno:AlignRight</property>
<property name="use_underline">True</property>
- <property name="stock_id">gtk-justify-right</property>
</object>
<packing>
<property name="expand">False</property>
@@ -78,11 +72,9 @@
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Justify</property>
<property name="use_action_appearance">False</property>
- <property name="action_name">.uno:Strikeout</property>
+ <property name="action_name">.uno:AlignBlock</property>
<property name="use_underline">True</property>
- <property name="stock_id">gtk-justify-fill</property>
</object>
<packing>
<property name="expand">False</property>
@@ -110,6 +102,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="action_name">.uno:AlignTop</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -123,6 +116,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="action_name">.uno:AlignVCenter</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -136,6 +130,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
+ <property name="action_name">.uno:AlignBottom</property>
<property name="use_underline">True</property>
</object>
<packing>