forked from AuroraMiddleware/gtk
treeexpander: Use focusable where we mean it
This does not fix keyboard activation for tree expanders, but it is more correct than using can-focus.
This commit is contained in:
parent
105b12f807
commit
eb61f0fc63
@ -311,7 +311,7 @@ gtk_tree_expander_focus (GtkWidget *widget,
|
||||
if (gtk_widget_is_focus (widget))
|
||||
return FALSE;
|
||||
|
||||
if (!gtk_widget_get_can_focus (widget))
|
||||
if (!gtk_widget_get_focusable (widget))
|
||||
return FALSE;
|
||||
|
||||
gtk_widget_grab_focus (widget);
|
||||
|
Loading…
Reference in New Issue
Block a user