[evince/881-animate-zoom-level-popover] zoom-action: Use Popover.popup() to get animation
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/881-animate-zoom-level-popover] zoom-action: Use Popover.popup() to get animation
- Date: Mon, 28 May 2018 20:33:36 +0000 (UTC)
commit 58a5cb122e5bddf554a406ddaefc181bb94a283a
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]