[eog] EogZoomEntry: Move popover below the entry's icon
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogZoomEntry: Move popover below the entry's icon
- Date: Tue, 14 Feb 2017 19:48:44 +0000 (UTC)
commit 80e5447b4ea2d4817f068f20f364aefc7dfe3e9e
Author: Felix Riemann <friemann gnome org>
Date: Tue Feb 14 20:48:09 2017 +0100
EogZoomEntry: Move popover below the entry's icon
src/eog-zoom-entry.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-zoom-entry.c b/src/eog-zoom-entry.c
index d26b322..0b0879d 100644
--- a/src/eog-zoom-entry.c
+++ b/src/eog-zoom-entry.c
@@ -160,6 +160,8 @@ get_popup (EogZoomEntry *zoom_entry)
zoom_entry);
gtk_entry_get_icon_area (GTK_ENTRY (zoom_entry->priv->value_entry),
GTK_ENTRY_ICON_SECONDARY, &rect);
+ gtk_popover_set_relative_to (GTK_POPOVER (zoom_entry->priv->popup),
+ zoom_entry->priv->value_entry);
gtk_popover_set_pointing_to (GTK_POPOVER (zoom_entry->priv->popup), &rect);
gtk_popover_set_position (GTK_POPOVER (zoom_entry->priv->popup), GTK_POS_BOTTOM);
gtk_widget_set_size_request (zoom_entry->priv->popup, 150, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]