Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/chat.py
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2012-08-07 23:06:25 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2012-08-07 23:06:25 (GMT)
commit24d236b3b0719d9b49486463737ad654aa15e6d9 (patch)
tree1793a6c6803921b3be9793205ae3da86a15b7ee3 /chat.py
parenta8c2f7b88a28f1ba5ef4c92b7fbb9cebdf565f80 (diff)
merging flavio's changes to fix gstreamer
Diffstat (limited to 'chat.py')
-rw-r--r--chat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.py b/chat.py
index 8f8bb28..ce07faa 100644
--- a/chat.py
+++ b/chat.py
@@ -56,7 +56,7 @@ class View(Gtk.EventBox):
# buddies box
self._buddies_list = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self._buddies_list.set_homogeneous(False)
- self._buddies_list.props.spacing = ENTRY_YPAD
+ self._buddies_list.set_spacing(ENTRY_YPAD)
self._buddies_box = Gtk.ScrolledWindow()
self._buddies_box.set_policy(Gtk.PolicyType.ALWAYS,
@@ -79,7 +79,7 @@ class View(Gtk.EventBox):
chat_post.modify_base(Gtk.StateType.INSENSITIVE,
style.COLOR_WHITE.get_gdk_color())
chat_post.connect('key-press-event', self._key_press_cb)
- chat_post.props.wrap_mode = Gtk.WrapMode.WORD_CHAR
+ chat_post.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
chat_post.set_size_request(-1, BUDDY_SIZE - ENTRY_YPAD * 2)
chat_post_box = RoundBox()
chat_post_box.background_color = style.COLOR_WHITE