[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 79/254] ui/playlistcontrols: Use focusable property instead of can-focus



commit 5f7fac42d9f426f9571ce1c04129fc3e11895d3a
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Feb 2 12:28:44 2022 +0100

    ui/playlistcontrols: 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/PlaylistControls.ui | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index aaa59acaa..c86650ec2 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -18,7 +18,7 @@
   <template class="PlaylistControls" parent="GtkBox">
     <property name="orientation">vertical</property>
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
+    <property name="focusable">False</property>
     <property name="margin-top">30</property>
     <child>
       <object class="GtkStack" id="_name_stack">
@@ -26,7 +26,7 @@
         <child>
           <object class="GtkLabel" id="_name_label">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="focusable">False</property>
             <property name="hexpand">True</property>
             <property name="xalign">0</property>
             <property name="label" translatable="yes">Playlist Name</property>
@@ -54,7 +54,7 @@
                       </object>
                     </child>
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
+                    <property name="focusable">True</property>
                     <property name="receives_default">True</property>
                     <signal name="activate" handler="_on_playlist_renamed" swapped="no"/>
                     <signal name="changed" handler="_on_rename_entry_changed" swapped="no"/>
@@ -63,7 +63,7 @@
                 <child>
                   <object class="GtkButton" id="_rename_done_button">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
+                    <property name="focusable">True</property>
                     <property name="receives_default">True</property>
                     <property name="label" translatable="yes">_Done</property>
                     <property name="use_underline">True</property>
@@ -83,7 +83,7 @@
     <child>
       <object class="GtkLabel" id="_songs_count_label">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
+        <property name="focusable">False</property>
         <property name="halign">start</property>
         <property name="label"></property>
         <property name="margin-bottom">4</property>
@@ -104,7 +104,7 @@
             <property name="height-request">44</property>
             <property name="width-request">44</property>
             <property name="visible">True</property>
-            <property name="can-focus">True</property>
+            <property name="focusable">True</property>
             <property name="receives-default">True</property>
             <property name="icon_name">media-playback-start-symbolic</property>
             <property name="tooltip-text" translatable="yes">Play</property>
@@ -120,7 +120,7 @@
             <property name="height-request">44</property>
             <property name="width-request">44</property>
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
+            <property name="focusable">True</property>
             <property name="receives_default">True</property>
             <property name="halign">start</property>
             <property name="valign">center</property>


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