sfx2/uiconfig/ui/templatepanel.ui |   26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

New commits:
commit e3d7473a5611f414bfcf1a3e812248c82f9e9b83
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Thu Aug 15 18:40:25 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Aug 16 12:45:44 2024 +0200

    Add extended tips to styles sidebar
    
    Change-Id: I161be41fa80a1e2d841b5c1b00d6e249469f3247
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171932
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/sfx2/uiconfig/ui/templatepanel.ui 
b/sfx2/uiconfig/ui/templatepanel.ui
index db5fcfa1f47e..fca889705756 100644
--- a/sfx2/uiconfig/ui/templatepanel.ui
+++ b/sfx2/uiconfig/ui/templatepanel.ui
@@ -131,6 +131,11 @@
                     <property name="tooltip-text" translatable="yes" 
context="templatepanel|STR_STYLE_FILL_FORMAT_MODE">Fill Format Mode</property>
                     <property name="use-underline">True</property>
                     <property name="icon-name">res/sc05554.png</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="watercan-atkobject">
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="templatepanel|extended_tip|watercan">Applies the 
selected style to the object or text that you select in the document. 
</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -213,9 +218,6 @@
                   <object class="GtkTreeViewColumn" id="treeviewcolumn0">
                     <child>
                       <object class="GtkCellRendererPixbuf" 
id="cellrendererpixbuf1"/>
-                      <attributes>
-                        <attribute name="surface">0</attribute>
-                      </attributes>
                     </child>
                   </object>
                 </child>
@@ -270,9 +272,6 @@
                   <object class="GtkTreeViewColumn" id="treeviewcolumn3">
                     <child>
                       <object class="GtkCellRendererPixbuf" 
id="cellrendererpixbuf2"/>
-                      <attributes>
-                        <attribute name="surface">0</attribute>
-                      </attributes>
                     </child>
                   </object>
                 </child>
@@ -313,6 +312,11 @@
                 <property name="receives-default">False</property>
                 <property name="use-underline">True</property>
                 <property name="draw-indicator">True</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="showpreview-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" context="templatepanel|extended_tip|showpreview">Display the 
style names as examples of their formatting. </property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -327,6 +331,11 @@
                 <property name="receives-default">False</property>
                 <property name="use-underline">True</property>
                 <property name="draw-indicator">True</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="highlightstyles-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" 
context="templatepanel|extended_tip|highlightstyles">Displays a color and a 
unique number code for each applied paragraph or character style in the 
document. </property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -345,6 +354,11 @@
           <object class="GtkComboBoxText" id="filter">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
+            <child internal-child="accessible">
+              <object class="AtkObject" id="filter-atkobject">
+                <property name="AtkObject::accessible-description" 
translatable="yes" context="templatepanel|extended_tip|filter">Select a filter 
for the list of styles.</property>
+              </object>
+            </child>
           </object>
           <packing>
             <property name="expand">False</property>

Reply via email to