[gnome-music/wip/jfelder/gtk4-v3: 19/40] ui/playlisttile: 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: 19/40] ui/playlisttile: Use focusable property instead of can-focus
- Date: Wed, 2 Feb 2022 23:39:59 +0000 (UTC)
commit 5c2b8811bedce9a3b991024aaf1a0db8f88fdad6
Author: Jean Felder <jfelder src gnome org>
Date: Wed Feb 2 13:16:05 2022 +0100
ui/playlisttile: 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/PlaylistTile.ui | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/PlaylistTile.ui b/data/ui/PlaylistTile.ui
index 16fb590e0..1f40f3de6 100644
--- a/data/ui/PlaylistTile.ui
+++ b/data/ui/PlaylistTile.ui
@@ -10,7 +10,7 @@
<child>
<object class="GtkImage" id="_icon">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="icon_size">4</property>
<property name="valign">center</property>
<style>
@@ -20,7 +20,7 @@
</child>
<child>
<object class="GtkLabel" id="_label">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="ellipsize">end</property>
<property name="halign">start</property>
<property name="hexpand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]