[nautilus] toolbar.ui:Fix keyboard access to buttons
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar.ui:Fix keyboard access to buttons
- Date: Sun, 26 Aug 2018 14:40:50 +0000 (UTC)
commit c7de43949948227d305754834ea34de83c03647d
Author: Carlo Lobrano <c lobrano gmail com>
Date: Sat Aug 25 10:41:28 2018 +0200
toolbar.ui:Fix keyboard access to buttons
Currently back_button, forward_button and app_button (hamburger button)
are not accessible via keyboard.
This commit fixes this changing the property `can_focus` from False to
True for the above mentioned buttons.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/569
src/resources/ui/nautilus-toolbar.ui | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index b447065aa..30b4cddf9 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -258,7 +258,7 @@
<child>
<object class="GtkButton" id="back_button">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Go back</property>
<property name="action_name">win.back</property>
@@ -283,7 +283,7 @@
<child>
<object class="GtkButton" id="forward_button">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Go forward</property>
<property name="action_name">win.forward</property>
@@ -469,7 +469,7 @@
<child>
<object class="GtkMenuButton" id="app_button">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="popover">app_menu</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]