[gnome-music/wip/jfelder/gtk4-v3: 108/110] ui/searchheaderbar: Use focusable property instead of can-focus




commit 776301d747c852e40303525f46f3894195767f00
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Feb 4 05:08:46 2022 +0100

    ui/searchheaderbar: Use focusable property instead of can-focus
    
    The can-focus property has been renamed to focusable in Gtk4 and the
    new can-focus property means that the focus cannot enter the widget or
    any of its descendents.

 data/ui/SearchHeaderBar.ui | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/SearchHeaderBar.ui b/data/ui/SearchHeaderBar.ui
index 9be011d37..916912a18 100644
--- a/data/ui/SearchHeaderBar.ui
+++ b/data/ui/SearchHeaderBar.ui
@@ -9,7 +9,7 @@
         </style>
         <child type="end">
           <object class="GtkToggleButton" id="_select_button">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="valign">center</property>
             <property name="sensitive">True</property>
             <property name="tooltip_text" translatable="yes">Select</property>
@@ -18,7 +18,7 @@
             </style>
             <child>
               <object class="GtkImage" id="_select_button_image">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="icon-name">object-select-symbolic</property>
                 <property name="icon-size">1</property>
               </object>
@@ -27,7 +27,7 @@
         </child>
         <child type="end">
           <object class="GtkButton" id="_cancel_button">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="label" translatable="yes">_Cancel</property>
             <property name="use_underline">True</property>
             <property name="valign">center</property>
@@ -40,7 +40,7 @@
         </child>
         <child type="end">
           <object class="GtkToggleButton" id="_search_button">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="valign">center</property>
             <property name="sensitive">True</property>
             <property name="tooltip_text" translatable="yes">Search</property>
@@ -49,7 +49,7 @@
             </style>
             <child>
               <object class="GtkImage" id="_search_button_image">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="icon-name">edit-find-symbolic</property>
                 <property name="icon-size">1</property>
               </object>


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