[gnome-music/wip/jfelder/gtk4-v3: 45/88] ui/discbox: 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: 45/88] ui/discbox: Use focusable property instead of can-focus
- Date: Sat, 5 Feb 2022 00:05:09 +0000 (UTC)
commit 9eb91841a4f2f8468de7141f979a17e7342e3df0
Author: Jean Felder <jfelder src gnome org>
Date: Thu Feb 3 02:06:14 2022 +0100
ui/discbox: 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/DiscBox.ui | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/DiscBox.ui b/data/ui/DiscBox.ui
index d7c80c6aa..0fe6e9d0a 100644
--- a/data/ui/DiscBox.ui
+++ b/data/ui/DiscBox.ui
@@ -3,16 +3,16 @@
<interface>
<requires lib="gtk+" version="3.12"/>
<template parent="GtkListBoxRow" class="DiscBox">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="activatable">False</property>
<property name="selectable">False</property>
<child>
<object class="GtkBox">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="_disc_label">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="halign">fill</property>
<!-- <property name="hexpand">True</property> -->
<property name="xalign">0.0</property>
@@ -23,7 +23,7 @@
</child>
<child>
<object class="GtkListBox" id="_list_box">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="valign">start</property>
<property name="selection_mode">none</property>
<signal name="row-activated" handler="_song_activated" swapped="no"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]