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




commit d528e9318ee0a260ed6a72b16a96ef82229af599
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 00:20:35 2022 +0100

    ui/searchview: 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/SearchView.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index 08716ffce..7f2ff0ab4 100644
--- a/data/ui/SearchView.ui
+++ b/data/ui/SearchView.ui
@@ -25,7 +25,7 @@
                     <property name="orientation">horizontal</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="label" translatable="yes">Artists</property>
                         <style>
@@ -70,7 +70,7 @@
                     <property name="orientation">horizontal</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="label" translatable="yes">Albums</property>
                         <style>
@@ -115,7 +115,7 @@
                     <property name="orientation">horizontal</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="can_focus">False</property>
+                        <property name="focusable">False</property>
                         <property name="halign">start</property>
                         <property name="label" translatable="yes">Songs</property>
                         <style>


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