[gnome-builder] libide/greeter: add tooltip to selection mode button



commit 4f467fadad4f5d82f1f75b276a136c32554518de
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 29 17:23:32 2022 -0700

    libide/greeter: add tooltip to selection mode button
    
    Fixes #1738

 src/libide/greeter/ide-greeter-workspace.ui | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/libide/greeter/ide-greeter-workspace.ui b/src/libide/greeter/ide-greeter-workspace.ui
index d479e2a8e..471f0c868 100644
--- a/src/libide/greeter/ide-greeter-workspace.ui
+++ b/src/libide/greeter/ide-greeter-workspace.ui
@@ -33,14 +33,8 @@
         <child type="right">
           <object class="GtkToggleButton" id="select_button">
             <property name="action-name">win.selection-mode</property>
-            <style>
-              <class name="image-button"/>
-            </style>
-            <child>
-              <object class="GtkImage">
-                <property name="icon-name">selection-mode-symbolic</property>
-              </object>
-            </child>
+            <property name="icon-name">selection-mode-symbolic</property>
+            <property name="tooltip-text" translatable="yes">Toggle Selection Mode</property>
           </object>
         </child>
       </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]