[gnome-music/wip/mschraal/gtk4-v3: 128/192] ui/twolinetip: Use focusable property instead of can-focus




commit 863d32c9294f0876b72b7495234f101ac069dd1b
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 02:01:29 2022 +0100

    ui/twolinetip: 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/TwoLineTip.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/TwoLineTip.ui b/data/ui/TwoLineTip.ui
index 4f6b9c46b..2ebece590 100644
--- a/data/ui/TwoLineTip.ui
+++ b/data/ui/TwoLineTip.ui
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="TwoLineTip" parent="GtkBox">
-    <property name="can_focus">False</property>
+    <property name="focusable">False</property>
     <property name="vexpand">False</property>
     <property name="orientation">vertical</property>
     <child>
       <object class="GtkLabel" id="_title_label">
-        <property name="can_focus">False</property>
+        <property name="focusable">False</property>
         <property name="halign">start</property>
         <style>
           <class name="tooltip-title"/>
@@ -15,7 +15,7 @@
     </child>
     <child>
       <object class="GtkLabel" id="_subtitle_label">
-        <property name="can_focus">False</property>
+        <property name="focusable">False</property>
         <property name="halign">start</property>
       </object>
     </child>


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