Commit 39a8a6ef authored by Ernestas Kulik's avatar Ernestas Kulik

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 dbd5fb43
......@@ -1553,7 +1553,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