Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolitem.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-07-18 01:12:14 (GMT)
committer flavio <fdanesse@gmail.com>2012-07-18 01:12:14 (GMT)
commit973dc1a85c8b770c8e365457546c6fe816f58aa8 (patch)
tree33f47b669f9c0ee1ddec176edac53718e66bac9f /toolitem.py
parent0edb2b73645352222a518ca98d7c8b6e7fc4c063 (diff)
The activity starts
Diffstat (limited to 'toolitem.py')
-rw-r--r--toolitem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolitem.py b/toolitem.py
index 5a6cf38..accc86c 100644
--- a/toolitem.py
+++ b/toolitem.py
@@ -31,7 +31,7 @@ class ToolWidget(Gtk.ToolItem):
self._label_text = None
self._box = Gtk.HBox(False, style.DEFAULT_SPACING)
- GObject.GObject.__init__(self, **kwargs)
+ Gtk.ToolItem.__init__(self)
self.props.border_width = style.DEFAULT_PADDING
self._box.show()
@@ -57,7 +57,7 @@ class ToolWidget(Gtk.ToolItem):
if self._label is not None:
self._box.remove(self._label)
self._label = label
- self._box.pack_start(label, False)
+ self._box.pack_start(label, False, False, 0)
self._box.reorder_child(label, 0)
label.show()
self.set_label_text(self._label_text)