[epiphany/gnome-3-20] window: Force popover to open on the bottom



commit d8f8774fc9a65c7079e641904a502bf111cea60e
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 4c42a5d..faf3694 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2966,6 +2966,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]