diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2017-04-13 16:35:33 +0400 |
---|---|---|
committer | Yousuf Philips <philipz85@hotmail.com> | 2017-04-18 01:12:13 +0200 |
commit | 2f5baab8498ce1303dded8aa7e16adbf80341c39 (patch) | |
tree | 09e0a209a44822e98bd7edaa43f69a8c55418094 | |
parent | faad94b8841cb0b37a2a47f1ac67fb07b121ecc1 (diff) |
tdf#105672 Heikobar: Fix style and links group buttons
Change-Id: I55db80e0a73690374d40ff926aeedb94f07843c5
Reviewed-on: https://gerrit.libreoffice.org/36518
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
-rw-r--r-- | sw/uiconfig/swriter/ui/notebookbar_groups.ui | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/sw/uiconfig/swriter/ui/notebookbar_groups.ui b/sw/uiconfig/swriter/ui/notebookbar_groups.ui index 72be3000dda3..e440f4d7624c 100644 --- a/sw/uiconfig/swriter/ui/notebookbar_groups.ui +++ b/sw/uiconfig/swriter/ui/notebookbar_groups.ui @@ -315,6 +315,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Default Paragraph</property> + <property name="action_name">.uno:StyleApply?Style:string=Standard&FamilyName:string=ParagraphStyles</property> <property name="use_underline">True</property> </object> </child> @@ -323,14 +324,34 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Title</property> + <property name="action_name">.uno:StyleApply?Style:string=Title&FamilyName:string=ParagraphStyles</property> <property name="use_underline">True</property> </object> </child> <child> - <object class="GtkMenuItem" id="subtitle"> + <object class="GtkMenuItem" id="heading1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Subtitle</property> + <property name="label" translatable="yes">Heading 1</property> + <property name="action_name">.uno:StyleApply?Style:string=Heading%201&FamilyName:string=ParagraphStyles</property> + <property name="use_underline">True</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="heading2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Heading 2</property> + <property name="action_name">.uno:StyleApply?Style:string=Heading%202&FamilyName:string=ParagraphStyles</property> + <property name="use_underline">True</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="heading3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Heading 3</property> + <property name="action_name">.uno:StyleApply?Style:string=Heading%203&FamilyName:string=ParagraphStyles</property> <property name="use_underline">True</property> </object> </child> @@ -345,6 +366,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Default Character</property> + <property name="action_name">.uno:StyleApply?Style:string=Default%20Style&FamilyName:string=CharacterStyles</property> <property name="use_underline">True</property> </object> </child> @@ -353,6 +375,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Emphasis</property> + <property name="action_name">.uno:StyleApply?Style:string=Emphasis&FamilyName:string=CharacterStyles</property> <property name="use_underline">True</property> </object> </child> @@ -361,6 +384,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Strong Emphasis</property> + <property name="action_name">.uno:StyleApply?Style:string=Strong%20Emphasis&FamilyName:string=CharacterStyles</property> <property name="use_underline">True</property> </object> </child> @@ -907,7 +931,7 @@ <property name="can_focus">False</property> <property name="spacing">3</property> <child> - <object class="GtkButton" id="paragraphstyleb:stylemenu"> + <object class="svtlo-ManagedMenuButton" id="paragraphstyleb:stylemenu"> <property name="label" translatable="yes">Style</property> <property name="width_request">70</property> <property name="visible">True</property> @@ -1545,7 +1569,7 @@ <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> - <object class="GtkButton" id="linksb:linksmenu"> + <object class="svtlo-ManagedMenuButton" id="linksb:linksmenu"> <property name="label" translatable="yes">Links</property> <property name="height_request">26</property> <property name="visible">True</property> |