[gtk/BUG_sibebarplaces_avoid_click_focus_GTK3] GtkPlacesSidebar: avoid location clicks to grab focus
- From: Nelson Benítez León <nbenitez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/BUG_sibebarplaces_avoid_click_focus_GTK3] GtkPlacesSidebar: avoid location clicks to grab focus
- Date: Sat, 18 Apr 2020 18:30:55 +0000 (UTC)
commit 9fa208d1b392fa422b5b38ca22fa8157ee1972de
Author: Nelson Benítez León <nbenitezl gmail com>
Date: Sat Apr 18 14:24:53 2020 -0400
GtkPlacesSidebar: avoid location clicks to grab focus
Sibebar location rows should not grab focus on click.
Fixes filechooser issue #1469
gtk/gtksidebarrow.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtksidebarrow.c b/gtk/gtksidebarrow.c
index 4e88a7fed9..2f19000bb9 100644
--- a/gtk/gtksidebarrow.c
+++ b/gtk/gtksidebarrow.c
@@ -472,6 +472,7 @@ static void
gtk_sidebar_row_init (GtkSidebarRow *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
+ gtk_widget_set_focus_on_click (GTK_WIDGET (self), FALSE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]