[gnome-music/wip/jfelder/gtk4-v3: 80/167] ui/headerbar: Use focusable property instead of can-focus




commit b3da22fd9580c379bf6a3a311b6d74f4e018b8b6
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 00:24:23 2022 +0100

    ui/headerbar: 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/HeaderBar.ui | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/ui/HeaderBar.ui b/data/ui/HeaderBar.ui
index beb9ab54b..acd7ef32f 100644
--- a/data/ui/HeaderBar.ui
+++ b/data/ui/HeaderBar.ui
@@ -10,7 +10,7 @@
         </style>
         <child type="end">
           <object class="GtkMenuButton" id="_menu_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">Menu</property>
@@ -19,7 +19,7 @@
             </style>
             <child>
               <object class="GtkImage" id="_menu_button_image">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="icon-name">open-menu-symbolic</property>
                 <property name="icon-size">1</property>
               </object>
@@ -28,7 +28,7 @@
         </child>
         <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>
@@ -37,7 +37,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>
@@ -47,7 +47,7 @@
         <child type="end">
           <object class="GtkButton" id="_cancel_button">
             <property name="visible">False</property>
-            <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>
@@ -60,7 +60,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>
@@ -69,7 +69,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>
@@ -78,7 +78,7 @@
         </child>
         <child type="start">
           <object class="GtkButton" id="_back_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">Back</property>
@@ -88,7 +88,7 @@
             </style>
             <child>
               <object class="GtkImage" id="_back_button_image">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="icon-name">go-previous-symbolic</property>
                 <property name="icon-size">1</property>
               </object>


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