[gnome-music/wip/mschraal/gtk4-v3: 132/192] ui/discbox: Use focusable property instead of can-focus
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v3: 132/192] ui/discbox: Use focusable property instead of can-focus
- Date: Sat, 5 Feb 2022 20:09:39 +0000 (UTC)
commit 36744e4363f3c6e7333abc72e492bf3ce26af9df
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]