diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-07-06 16:39:06 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-07-06 16:39:06 +0200 |
commit | 7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe (patch) | |
tree | 5992ebbc9a23fec7e8b010c1083a5b60953f01dc /gtk/gtktexthandle.c | |
parent | dec95caf942dba64110b910ffbfc4ce9d3058561 (diff) | |
download | gtk+-7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe.tar.gz |
gtkwindow: Only allow unrestricted positioning to text handle popovers
This behavior has been made optional on add_popover() time, text handles
will keep being able to overflow the window, in order to allow text
selection on views too close to the window edge.
Regular GtkPopovers are reinstaurated to the previous size positioning
logic though, that is, limited by the visible area of the window.
Diffstat (limited to 'gtk/gtktexthandle.c')
-rw-r--r-- | gtk/gtktexthandle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c index c89cf6339c..da9828728b 100644 --- a/gtk/gtktexthandle.c +++ b/gtk/gtktexthandle.c @@ -307,7 +307,7 @@ _gtk_text_handle_ensure_widget (GtkTextHandle *handle, priv->windows[pos].widget = g_object_ref_sink (widget); window = gtk_widget_get_ancestor (priv->parent, GTK_TYPE_WINDOW); - _gtk_window_add_popover (GTK_WINDOW (window), widget, priv->parent); + _gtk_window_add_popover (GTK_WINDOW (window), widget, priv->parent, FALSE); gtk_style_context_set_parent (gtk_widget_get_style_context (widget), gtk_widget_get_style_context (priv->parent)); |