[gnome-music/wip/jfelder/gtk4-v3: 96/98] 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: 96/98] ui/discbox: Use focusable property instead of can-focus
- Date: Thu, 3 Feb 2022 05:35:51 +0000 (UTC)
commit 61fda5f3efacd9e61c246c95c8376edcd7c29e94
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 deb214177..e41b4c90d 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="GtkListView" id="_list_view">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="valign">start</property>
<property name="single_click_activate">True</property>
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]