[gtk/BUG_sibebarplaces_avoid_click_focus_GTK3] GtkPlacesSidebar: avoid location clicks to grab focus



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]