commit d929c4d2ddc4dd910c8249a456a850255e86aa28
parent 650a9b6074d3248a9146548e59cb98a639311872
Author: ThomasV <thomasv@gitorious>
Date: Fri, 16 Nov 2012 19:18:14 +0100
prevent window resizing by including the textview in a scrolled window
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/gui.py b/lib/gui.py
@@ -841,7 +841,9 @@ class ElectrumWindow:
tv.set_editable(False)
tv.set_cursor_visible(False)
tv.modify_font(pango.FontDescription(MONOSPACE_FONT))
- page.pack_start(tv)
+ scroll = gtk.ScrolledWindow()
+ scroll.add(tv)
+ page.pack_start(scroll)
self.info = tv.get_buffer()
self.add_tab(page, 'Wall')