[evince/gnome-3-28] zoom-action: Use Popover.popup() to get animation



commit e26eddd487b0ceeeeff835cf5adbbfa628f827c0
Author: Daniel Boles <dboles src gmail com>
Date:   Thu Mar 1 20:59:53 2018 +0000

    zoom-action: Use Popover.popup() to get animation
    
    instead of Widget.show(), which shows immediately without any transition
    
    https://gitlab.gnome.org/GNOME/evince/issues/881

 shell/ev-zoom-action.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/shell/ev-zoom-action.c b/shell/ev-zoom-action.c
index 3ed3f15c..2568cbe3 100644
--- a/shell/ev-zoom-action.c
+++ b/shell/ev-zoom-action.c
@@ -265,7 +265,7 @@ entry_icon_press_callback (GtkEntry            *entry,
         if (event->button != GDK_BUTTON_PRIMARY)
                 return;
 
-        gtk_widget_show (get_popup (zoom_action));
+        gtk_popover_popup (GTK_POPOVER (get_popup (zoom_action)));
         zoom_action->priv->popup_shown = TRUE;
 }
 


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