tprevent window resizing by including the textview in a scrolled window - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d929c4d2ddc4dd910c8249a456a850255e86aa28 DIR parent 650a9b6074d3248a9146548e59cb98a639311872 HTML 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: M lib/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/gui.py b/lib/gui.py t@@ -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')