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




commit b6891eaa3f3f669a8d86c24ddeeaf4270779f7ad
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 dda378223..dba80dc3d 100644
--- a/data/ui/AlbumWidget.ui
+++ b/data/ui/AlbumWidget.ui
@@ -16,13 +16,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>
@@ -31,14 +31,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>
@@ -49,7 +49,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>
@@ -60,7 +60,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>
@@ -71,7 +71,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>
@@ -89,7 +89,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>
@@ -104,7 +104,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>
@@ -126,7 +126,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]