[Libreoffice-commits] core.git: sw/uiconfig

Yousuf Philips philipz85 at hotmail.com
Mon Apr 17 23:12:37 UTC 2017


 sw/uiconfig/swriter/ui/notebookbar_groups.ui |   32 +++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

New commits:
commit 2f5baab8498ce1303dded8aa7e16adbf80341c39
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Thu Apr 13 16:35:33 2017 +0400

    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 at googlemail.com>
    Tested-by: Heiko Tietze <tietze.heiko at googlemail.com>

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>


More information about the Libreoffice-commits mailing list