gtktreeview: Fix cancel of column re-ordering via the Escape key.
https://bugzilla.redhat.com/show_bug.cgi?id=1162288 https://bugzilla.gnome.org/show_bug.cgi?id=739920
This commit is contained in:
committed by
Matthias Clasen
parent
3217246e94
commit
466186680c
@@ -5763,7 +5763,7 @@ gtk_tree_view_key_press (GtkWidget *widget,
|
||||
if (event->keyval == GDK_KEY_Escape)
|
||||
{
|
||||
tree_view->priv->cur_reorder = NULL;
|
||||
gtk_tree_view_button_release_drag_column (widget, NULL);
|
||||
gtk_tree_view_button_release_drag_column (widget, (GdkEventButton *) event);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user