diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-11-15 20:39:25 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-11-19 15:46:27 (GMT) |
commit | 342d56d021606a84052913a00b810b451744535f (patch) | |
tree | ec35bb807b6112686ddc44b06bad379829ef9929 | |
parent | 00105b1389aa455da4706ef53356fb2aec8bf290 (diff) |
Journal details view: fix textviews can resize outside the window - SL #3941
There is an inconsistent behaviour when a TextView with wrap mode
WORD_CHAR is inside a ScrolledWindow with horizontal policy NEVER. Is
now reported upstream [1] with a testcase. The solution is set the
horizontal policy to AUTOMATIC.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=688472
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | src/jarabe/journal/expandedentry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py index bf34632..439e19e 100644 --- a/src/jarabe/journal/expandedentry.py +++ b/src/jarabe/journal/expandedentry.py @@ -330,7 +330,7 @@ class ExpandedEntry(Gtk.EventBox): vbox.pack_start(halign, False, False, 0) scrolled_window = Gtk.ScrolledWindow() - scrolled_window.set_policy(Gtk.PolicyType.NEVER, + scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC) scrolled_window.set_shadow_type(Gtk.ShadowType.ETCHED_IN) text_buffer = Gtk.TextBuffer() |