more properties so they do not get lost after refactoring

This commit is contained in:
Nikos Kouremenos 2005-10-29 15:26:41 +00:00
parent 72fea5dd3d
commit 8cd566c18d
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ class MessageTextView(gtk.TextView):
)
def __init__(self):
# set properties
self.set_border_width(1)
self.set_accepts_tab(True)
self.set_editable(True)
self.set_cursor_visible(True)
self.set_wrap_mode(gtk.WRAP_WORD)
self.set_left_margin(2)
self.set_right_margin(2)
self.set_pixels_above_lines(2)