[gtk/antoniof-main-patch-03677] columnview: Don't be focusable




commit 4a5300725b067457ccec7ecb3cda2528fd7b74c1
Author: António Fernandes <antoniof gnome org>
Date:   Sat Sep 10 22:43:57 2022 +0000

    columnview: Don't be focusable
    
    Focusing the view container is useless and slows user down.
    
    It also means if an item gets removed, the focus jumps back to the view,
    instead of jumping to the next item, as seen in nautilus bug report:
    https://gitlab.gnome.org/GNOME/nautilus/-/issues/2489

 gtk/gtkcolumnview.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c
index c46b7d8309..c77fb1df41 100644
--- a/gtk/gtkcolumnview.c
+++ b/gtk/gtkcolumnview.c
@@ -1315,7 +1315,6 @@ gtk_column_view_init (GtkColumnView *self)
                           g_quark_from_static_string (I_("view")));
 
   gtk_widget_set_overflow (GTK_WIDGET (self), GTK_OVERFLOW_HIDDEN);
-  gtk_widget_set_focusable (GTK_WIDGET (self), TRUE);
 
   self->reorderable = TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]