[gnome-music/wip/jfelder/gtk4-v3: 109/174] ui/twolinetip: Use focusable property instead of can-focus
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 109/174] ui/twolinetip: Use focusable property instead of can-focus
- Date: Tue, 8 Feb 2022 11:31:57 +0000 (UTC)
commit d0abf498570be9621b27447212126d0ce2050350
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]