[epiphany] resources/gtk: Fix keyboard focus for some buttons and rows
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] resources/gtk: Fix keyboard focus for some buttons and rows
- Date: Wed, 14 Jul 2021 19:20:12 +0000 (UTC)
commit d1dfa723983ec33c91942fa9761da075710ed627
Author: vanadiae <vanadiae35 gmail com>
Date: Wed Jul 14 18:15:04 2021 +0200
resources/gtk: Fix keyboard focus for some buttons and rows
Currently the bookmarks popover isn't keyboard navigable at all, with
only the "folder" rows being reachable. The settings row button also
wasn't keyboard navigable. The switch and button in the encoding dialog
also had this problem.
So this commit fixes the focus for all those.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/987>
src/resources/gtk/bookmark-row.ui | 2 --
src/resources/gtk/encoding-dialog.ui | 2 --
2 files changed, 4 deletions(-)
---
diff --git a/src/resources/gtk/bookmark-row.ui b/src/resources/gtk/bookmark-row.ui
index 9a71dde77..66597afee 100644
--- a/src/resources/gtk/bookmark-row.ui
+++ b/src/resources/gtk/bookmark-row.ui
@@ -4,7 +4,6 @@
<requires lib="gtk+" version="3.18"/>
<template class="EphyBookmarkRow" parent="GtkListBoxRow">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
@@ -38,7 +37,6 @@
<child>
<object class="GtkButton" id="properties_button">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="relief">none</property>
<child>
diff --git a/src/resources/gtk/encoding-dialog.ui b/src/resources/gtk/encoding-dialog.ui
index 7cf223bef..bfc90c761 100644
--- a/src/resources/gtk/encoding-dialog.ui
+++ b/src/resources/gtk/encoding-dialog.ui
@@ -49,7 +49,6 @@
<child>
<object class="GtkSwitch" id="default_switch">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="valign">start</property>
<signal name="state-set" handler="default_switch_toggled_cb" swapped="no"/>
</object>
@@ -177,7 +176,6 @@
<object class="GtkButton">
<property name="label" translatable="yes">Show all…</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="receives_default">False</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="show_all_button_clicked_cb" swapped="no"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]