[gnome-music/wip/jfelder/gtk4-v3: 140/174] ui/songwidget: Use focusable property instead of can-focus




commit 719dc2dcd877157b681419a519973760c50d98fe
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 20:58:48 2022 +0100

    ui/songwidget: 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/SongWidget.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index d6ce06c0e..51924b44b 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -125,7 +125,7 @@
         </child>
         <child>
           <object class="GtkStack" id="_star_stack">
-            <property name="can-focus">False</property>
+            <property name="focusable">False</property>
             <child>
               <object class="GtkStackPage">
                 <property name="name">star</property>
@@ -172,13 +172,13 @@
         <child>
           <object class="GtkMenuButton" id="_menu_button">
             <property name="visible">False</property>
-            <property name="can-focus">True</property>
+            <property name="focusable">True</property>
             <style>
               <class name="flat"/>
             </style>
             <child>
               <object class="GtkImage">
-                <property name="can-focus">False</property>
+                <property name="focusable">False</property>
                 <property name="icon-name">view-more-symbolic</property>
               </object>
             </child>


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