[gtk/wip/otte/for-master: 2/2] columnview: Make sure focus can move into cells
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-master: 2/2] columnview: Make sure focus can move into cells
- Date: Wed, 3 Jun 2020 14:59:15 +0000 (UTC)
commit 00f2b134e382fa5f50daf9c28185adccf8adfc6f
Author: Benjamin Otte <otte redhat com>
Date: Wed Jun 3 16:55:39 2020 +0200
columnview: Make sure focus can move into cells
The cells themselves should never be focusable though.
gtk/gtkcolumnviewcell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcolumnviewcell.c b/gtk/gtkcolumnviewcell.c
index 4df02a0194..4efe269879 100644
--- a/gtk/gtkcolumnviewcell.c
+++ b/gtk/gtkcolumnviewcell.c
@@ -143,7 +143,7 @@ gtk_column_view_cell_init (GtkColumnViewCell *self)
{
GtkWidget *widget = GTK_WIDGET (self);
- gtk_widget_set_can_focus (widget, FALSE);
+ gtk_widget_set_focusable (widget, FALSE);
/* FIXME: Figure out if settting the manager class to INVALID should work */
gtk_widget_set_layout_manager (widget, NULL);
widget->priv->resize_func = gtk_column_view_cell_resize_func;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]