Commit 3885e85f authored by Ernestas Kulik's avatar Ernestas Kulik
Browse files

popover: pop down when pressing escape

Simply hiding the popover may introduce inconsistencies in application
behavior, since popping up/down is the usual use case.

https://bugzilla.gnome.org/show_bug.cgi?id=773885
parent 5c18bf79
......@@ -1461,7 +1461,7 @@ gtk_popover_key_press (GtkWidget *widget,
if (event->keyval == GDK_KEY_Escape)
{
gtk_widget_hide (widget);
gtk_popover_popdown (GTK_POPOVER (widget));
return GDK_EVENT_STOP;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment