[gtk] popover: Use GTK_POS_BOTTOM as default position
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] popover: Use GTK_POS_BOTTOM as default position
- Date: Sat, 3 Aug 2019 12:46:49 +0000 (UTC)
commit 109df77d8717a5a9183d85818d0d5c79f0b388d4
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 1 16:03:57 2019 +0200
popover: Use GTK_POS_BOTTOM as default position
This has always made a lot more sense.
gtk/gtkpopover.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index b055c3c890..031e606c4c 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -552,8 +552,8 @@ gtk_popover_init (GtkPopover *popover)
GtkEventController *controller;
GtkStyleContext *context;
- priv->position = GTK_POS_TOP;
- priv->final_position = GTK_POS_TOP;
+ priv->position = GTK_POS_BOTTOM;
+ priv->final_position = GTK_POS_BOTTOM;
priv->autohide = TRUE;
priv->has_arrow = TRUE;
@@ -1349,7 +1349,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
g_param_spec_enum ("position",
P_("Position"),
P_("Position to place the bubble window"),
- GTK_TYPE_POSITION_TYPE, GTK_POS_TOP,
+ GTK_TYPE_POSITION_TYPE, GTK_POS_BOTTOM,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
properties[PROP_AUTOHIDE] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]