[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 152/254] ui/searchheaderbar: 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-pre-squash-backup: 152/254] ui/searchheaderbar: Use focusable property instead of can-focus
- Date: Thu, 17 Feb 2022 11:35:41 +0000 (UTC)
commit 4bdcabb4bc00b8302377d8f03f6cde18314b1250
Author: Jean Felder <jfelder src gnome org>
Date: Fri Feb 4 05:08:46 2022 +0100
ui/searchheaderbar: 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/SearchHeaderBar.ui | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/SearchHeaderBar.ui b/data/ui/SearchHeaderBar.ui
index 9be011d37..916912a18 100644
--- a/data/ui/SearchHeaderBar.ui
+++ b/data/ui/SearchHeaderBar.ui
@@ -9,7 +9,7 @@
</style>
<child type="end">
<object class="GtkToggleButton" id="_select_button">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
<property name="tooltip_text" translatable="yes">Select</property>
@@ -18,7 +18,7 @@
</style>
<child>
<object class="GtkImage" id="_select_button_image">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="icon-name">object-select-symbolic</property>
<property name="icon-size">1</property>
</object>
@@ -27,7 +27,7 @@
</child>
<child type="end">
<object class="GtkButton" id="_cancel_button">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="label" translatable="yes">_Cancel</property>
<property name="use_underline">True</property>
<property name="valign">center</property>
@@ -40,7 +40,7 @@
</child>
<child type="end">
<object class="GtkToggleButton" id="_search_button">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="valign">center</property>
<property name="sensitive">True</property>
<property name="tooltip_text" translatable="yes">Search</property>
@@ -49,7 +49,7 @@
</style>
<child>
<object class="GtkImage" id="_search_button_image">
- <property name="can_focus">False</property>
+ <property name="focusable">False</property>
<property name="icon-name">edit-find-symbolic</property>
<property name="icon-size">1</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]