prevent window resizing by including the textview in a scrolled window

This commit is contained in:
ThomasV 2012-11-16 19:18:14 +01:00
parent 650a9b6074
commit d929c4d2dd
1 changed files with 3 additions and 1 deletions

View File

@ -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')