[epiphany] window: Force popover to open on the bottom



commit 1725f0da1a8c09427bc5ec8fd9b13d85d4e94065
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Mar 23 20:54:59 2016 -0500

    window: Force popover to open on the bottom
    
    We never want it opening on the top, outside the window and potentially
    off the screen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763921

 src/ephy-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b8cb631..96ef978 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2968,6 +2968,7 @@ open_security_popover (EphyWindow   *window,
   g_signal_connect (security_popover, "closed",
                     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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]