[gnome-music/wip/jfelder/gtk4-v3: 131/259] ui/albumwidget: Use focusable property instead of can-focus




commit 4fdff38d01d9a5e8fbf7e884c8baacff78cc9222
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 16:11:49 2022 +0100

    ui/albumwidget: 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/AlbumWidget.ui | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/ui/AlbumWidget.ui b/data/ui/AlbumWidget.ui
index b8a4ad86e..062747ae3 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -14,13 +14,13 @@
             <property name="orientation">vertical</property>
             <child>
               <object class="GtkBox" id="albumInfo">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="halign">fill</property>
                 <property name="hexpand">True</property>
                 <property name="spacing">32</property>
                 <child>
                   <object class="ArtStack" id="_art_stack">
-                    <property name="can_focus">False</property>
+                    <property name="focusable">False</property>
                     <property name="halign">center</property>
                     <property name="valign">start</property>
                     <property name="hhomogeneous">False</property>
@@ -29,14 +29,14 @@
                 </child>
                 <child>
                   <object class="GtkBox" id="albumDetails">
-                    <property name="can_focus">False</property>
+                    <property name="focusable">False</property>
                     <property name="halign">center</property>
                     <property name="valign">start</property>
                     <property name="orientation">vertical</property>
                     <property name="margin-top">18</property>
                     <child>
                       <object class="GtkLabel" id="_title_label">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="ellipsize">middle</property>
                         <property name="margin-bottom">18</property>
@@ -47,7 +47,7 @@
                     </child>
                     <child>
                       <object class="GtkLabel" id="_artist_label">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="ellipsize">middle</property>
                         <property name="margin-bottom">12</property>
@@ -58,7 +58,7 @@
                     </child>
                     <child>
                       <object class="GtkLabel" id="_released_label">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="use_markup">True</property>
                         <property name="margin-bottom">12</property>
@@ -69,7 +69,7 @@
                     </child>
                     <child>
                       <object class="GtkLabel" id="_composer_label">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="ellipsize">end</property>
                         <property name="margin-bottom">12</property>
@@ -87,7 +87,7 @@
                           <object class="GtkButton" id="_play_button">
                             <property name="width-request">44</property>
                             <property name="height-request">44</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>
@@ -102,7 +102,7 @@
                           <object class="GtkMenuButton" id="_menu_button">
                             <property name="width-request">44</property>
                             <property name="height-request">44</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>
@@ -124,7 +124,7 @@
             </child>
             <child>
               <object class="GtkListBox" id="_disc_list_box">
-                <property name="can_focus">False</property>
+                <property name="focusable">False</property>
                 <property name="margin-top">48</property>
                 <property name="selection_mode">0</property>
               </object>


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