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




commit c5e167afc7c404675c34b8c92f6f55334a787e1f
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 02:06:14 2022 +0100

    ui/discbox: 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/DiscBox.ui | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/DiscBox.ui b/data/ui/DiscBox.ui
index d7c80c6aa..0fe6e9d0a 100644
--- a/data/ui/DiscBox.ui
+++ b/data/ui/DiscBox.ui
@@ -3,16 +3,16 @@
 <interface>
   <requires lib="gtk+" version="3.12"/>
   <template parent="GtkListBoxRow" class="DiscBox">
-    <property name="can_focus">False</property>
+    <property name="focusable">False</property>
     <property name="activatable">False</property>
     <property name="selectable">False</property>
     <child>
       <object class="GtkBox">
-        <property name="can_focus">False</property>
+        <property name="focusable">False</property>
         <property name="orientation">vertical</property>
         <child>
           <object class="GtkLabel" id="_disc_label">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="halign">fill</property>
             <!-- <property name="hexpand">True</property> -->
             <property name="xalign">0.0</property>
@@ -23,7 +23,7 @@
         </child>
         <child>
           <object class="GtkListBox" id="_list_box">
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="valign">start</property>
             <property name="selection_mode">none</property>
             <signal name="row-activated" handler="_song_activated" swapped="no"/>


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