Commit 58adcb61 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

bookmark-row: Close popover when opening properties

Prevent input from being stuck.
parent beff6dc7
Pipeline #400065 failed with stage
in 6 minutes and 7 seconds
......@@ -51,6 +51,7 @@ static void
ephy_bookmark_row_button_clicked_cb (EphyBookmarkRow *row,
GtkButton *button)
{
GtkWidget *popover;
GtkWidget *dialog;
GtkWidget *content_area;
GtkWidget *grid;
......@@ -65,6 +66,11 @@ ephy_bookmark_row_button_clicked_cb (EphyBookmarkRow *row,
"modal", TRUE,
NULL);
popover = gtk_widget_get_ancestor (GTK_WIDGET (row), GTK_TYPE_POPOVER);
if (popover)
gtk_popover_popdown (GTK_POPOVER (popover));
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
grid = ephy_bookmark_properties_new (ephy_bookmark_row_get_bookmark (row),
......
Supports Markdown
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