summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-toolbar.ui
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-07-16 07:52:17 -0400
committerAntónio Fernandes <antoniof@gnome.org>2022-07-16 20:02:21 +0100
commit8837c869ddee5b75807ef9934712b81f909e1bc6 (patch)
treeb33f2dc07a62cd6951403ac56b4d933fa8ea2a40 /src/resources/ui/nautilus-toolbar.ui
parent5fe9df1a3906e707f59e3b2aafb16ac8b4d6c55d (diff)
downloadnautilus-8837c869ddee5b75807ef9934712b81f909e1bc6.tar.gz
general: Remove unnecessary use of `focusable`
gtk4-builder-tool tries to port uses of `can_focus` to `focusable`, but in real code you generally don't need to set `focusable` - the defaults are always sensible, and removing the explicit property means less code without any behavior change.
Diffstat (limited to 'src/resources/ui/nautilus-toolbar.ui')
-rw-r--r--src/resources/ui/nautilus-toolbar.ui7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index 0bf8d79c2..b91da2ade 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -108,7 +108,6 @@
<template class="NautilusToolbar" parent="AdwBin">
<child>
<object class="AdwHeaderBar">
- <property name="focusable">False</property>
<child type="title">
<object class="GtkBox" id="header_toolbar">
<property name="spacing">6</property>
@@ -152,7 +151,6 @@
</child>
<child>
<object class="GtkToggleButton" id="search_button">
- <property name="focusable">True</property>
<property name="tooltip_text" translatable="yes">Search</property>
<property name="halign">center</property>
<property name="valign">center</property>
@@ -180,7 +178,6 @@
</child>
<child type="start">
<object class="GtkButton" id="back_button">
- <property name="focusable">True</property>
<property name="tooltip_text" translatable="yes">Go back</property>
<property name="halign">center</property>
<property name="valign">center</property>
@@ -198,7 +195,6 @@
</child>
<child type="start">
<object class="GtkButton" id="forward_button">
- <property name="focusable">True</property>
<property name="tooltip_text" translatable="yes">Go forward</property>
<property name="halign">center</property>
<property name="valign">center</property>
@@ -223,7 +219,6 @@
</child>
<child type="end">
<object class="GtkMenuButton" id="app_button">
- <property name="focusable">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="popover">
@@ -266,7 +261,6 @@
<object class="AdwSplitButton" id="view_split_button">
<property name="halign">center</property>
<property name="valign">center</property>
- <property name="focusable">True</property>
<property name="tooltip_text" translatable="yes">Toggle view</property>
<property name="action_name">slot.files-view-mode-toggle</property>
<property name="menu-model">view_menu</property>
@@ -284,7 +278,6 @@
<property name="transition_type">slide-right</property>
<property name="child">
<object class="GtkMenuButton" id="operations_button">
- <property name="focusable">True</property>
<property name="tooltip_text" translatable="yes">Show operations</property>
<property name="popover">operations_popover</property>
<child>