[Sugar-devel] [PATCH 2/3] making pack arguments verbose for readability.
Rafael Ortiz
rafael at activitycentral.com
Sat Jun 16 23:11:08 EDT 2012
Making pack's argument verbose for readability (this is optional, can
be applied or not by maintainer), applied on gtk3 branch as first patch
Signed-off-by: Rafael Ortiz <rafael at activitycentral.com>
---
activity.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/activity.py b/activity.py
index 24cc7c0..313c3fd 100644
--- a/activity.py
+++ b/activity.py
@@ -277,8 +277,8 @@ class Chat(activity.Activity):
hbox.add(entry)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, homogeneous=False)
- box.pack_start(self.chatbox, True, True, 0)
- box.pack_start(hbox, False, True, 0)
+ box.pack_start(self.chatbox, expand=True, fill=True, padding=0)
+ box.pack_start(hbox, expand=False, fill=True, padding=0)
return box
--
1.7.9.5
More information about the Sugar-devel
mailing list