Commit c5818c44 authored by Michael Catanzaro's avatar Michael Catanzaro

Use gtk_popover_popup

For the add bookmark popover and security popover. It has a subtle
animation instead of the sudden appearance of gtk_widget_show, and
matches our existing menu buttons.
parent 9525654e
......@@ -216,5 +216,5 @@ ephy_add_bookmark_popover_show (EphyAddBookmarkPopover *self)
self->address = g_strdup (address);
}
gtk_widget_show (GTK_WIDGET (self));
gtk_popover_popup (GTK_POPOVER (self));
}
......@@ -2804,7 +2804,7 @@ title_widget_lock_clicked_cb (EphyTitleWidget *title_widget,
G_CALLBACK (gtk_widget_destroy), NULL);
gtk_popover_set_pointing_to (GTK_POPOVER (security_popover), lock_position);
gtk_popover_set_position (GTK_POPOVER (security_popover), GTK_POS_BOTTOM);
gtk_widget_show (security_popover);
gtk_popover_popup (GTK_POPOVER (security_popover));
}
static GtkWidget *
......
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