[gnome-music/wip/jfelder/gtk4-v3: 79/169] ui/playlisttile: Use focusable property instead of can-focus




commit 601e9fb0c96de33a00c61b3b45aef1b4f412e970
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Feb 2 13:16:05 2022 +0100

    ui/playlisttile: 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/PlaylistTile.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/PlaylistTile.ui b/data/ui/PlaylistTile.ui
index 16fb590e0..1f40f3de6 100644
--- a/data/ui/PlaylistTile.ui
+++ b/data/ui/PlaylistTile.ui
@@ -10,7 +10,7 @@
         <child>
           <object class="GtkImage" id="_icon">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="icon_size">4</property>
             <property name="valign">center</property>
             <style>
@@ -20,7 +20,7 @@
         </child>
         <child>
           <object class="GtkLabel" id="_label">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="ellipsize">end</property>
             <property name="halign">start</property>
             <property name="hexpand">False</property>


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