Skip to content
Snippets Groups Projects
Commit 973aaee1 authored by nkour's avatar nkour
Browse files

do it with functions

parent 21ef8606
No related branches found
No related tags found
No related merge requests found
......@@ -28,10 +28,10 @@ class MessageTextView(gtk.TextView):
)
def __init__(self):
self.set_property('left-margin', 2)
self.set_property('right-margin', 2)
self.set_property('pixels-above-lines', 2)
self.set_property('pixels-below-lines', 2)
self.set_left_margin(2)
self.set_right_margin(2)
self.set_pixels_above_lines(2)
self.set_pixels_below_lines(2)
if gobject.pygtk_version < (2, 8, 0):
gobject.type_register(MessageTextView)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment