summaryrefslogtreecommitdiff
path: root/sd/uiconfig
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-04-23 15:04:36 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2017-04-23 19:50:15 +0300
commitfb698d5e81c8b4149c092305506d40e2f7ef7f5d (patch)
tree7d4cc743d6fe75f628e974a1144379a7f6c563c9 /sd/uiconfig
parent94490fdf76ff9aec05774a6dbbb0b42d87812969 (diff)
Replace GetImage with CommandInfoProvider::GetImageForCommand
And move ToolBoxButtonSize->ImageType mapping code to a common place. Change-Id: If158f4b6f2750054fcf64491c2941706e7d3a329
Diffstat (limited to 'sd/uiconfig')
-rw-r--r--sd/uiconfig/simpress/ui/annotationmenu.ui10
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/uiconfig/simpress/ui/annotationmenu.ui b/sd/uiconfig/simpress/ui/annotationmenu.ui
index b5bf418e9784..0e8ba5f39645 100644
--- a/sd/uiconfig/simpress/ui/annotationmenu.ui
+++ b/sd/uiconfig/simpress/ui/annotationmenu.ui
@@ -9,6 +9,7 @@
<object class="GtkMenuItem" id="reply">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:ReplyToAnnotation</property>
<property name="label" translatable="yes">_Reply</property>
<property name="use_underline">True</property>
</object>
@@ -23,6 +24,7 @@
<object class="GtkCheckMenuItem" id="bold">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Bold</property>
<property name="label" translatable="yes">_Bold</property>
<property name="use_underline">True</property>
</object>
@@ -31,6 +33,7 @@
<object class="GtkCheckMenuItem" id="italic">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Italic</property>
<property name="label" translatable="yes">_Italic</property>
<property name="use_underline">True</property>
</object>
@@ -39,6 +42,7 @@
<object class="GtkCheckMenuItem" id="underline">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Underline</property>
<property name="label" translatable="yes">_Underline</property>
<property name="use_underline">True</property>
</object>
@@ -47,6 +51,7 @@
<object class="GtkCheckMenuItem" id="strike">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Strikeout</property>
<property name="label" translatable="yes">_Strikethrough</property>
<property name="use_underline">True</property>
</object>
@@ -61,6 +66,7 @@
<object class="GtkMenuItem" id="copy">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Copy</property>
<property name="label" translatable="yes">_Copy</property>
<property name="use_underline">True</property>
</object>
@@ -69,6 +75,7 @@
<object class="GtkMenuItem" id="paste">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:Paste</property>
<property name="label" translatable="yes">_Paste</property>
<property name="use_underline">True</property>
</object>
@@ -83,6 +90,7 @@
<object class="GtkMenuItem" id="delete">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:DeleteAnnotation</property>
<property name="label" translatable="yes">_Delete Comment</property>
<property name="use_underline">True</property>
</object>
@@ -91,6 +99,7 @@
<object class="GtkMenuItem" id="deleteby">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:DeleteAllAnnotationByAuthor</property>
<property name="label" translatable="yes">Delete All Comments b_y %1</property>
<property name="use_underline">True</property>
</object>
@@ -99,6 +108,7 @@
<object class="GtkMenuItem" id="deleteall">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="action_name">.uno:DeleteAllAnnotation</property>
<property name="label" translatable="yes">Delete _All Comments</property>
<property name="use_underline">True</property>
</object>