diff options
author | Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> | 2011-01-26 02:13:15 (GMT) |
---|---|---|
committer | Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> | 2011-01-26 02:13:15 (GMT) |
commit | a088eb1b84b5be6eb6eab5ea3f40450617ef2fda (patch) | |
tree | 3c2ca4e5837ac426003ef4f031b79d4b0e7ab183 | |
parent | 4ad1d9c535a0183a628c92edc6709150f1879cdc (diff) |
Fix wrong method signatures
-rw-r--r-- | TurtleArtActivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index a32e56b..187b141 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -788,7 +788,7 @@ class TurtleArtActivity(activity.Activity): toolitem.show() return label - def _add_separator(toolbar, expand=False): + def _add_separator(self, toolbar, expand=False): """ add a separator to a toolbar """ separator = gtk.SeparatorToolItem() separator.props.draw = True @@ -796,7 +796,7 @@ class TurtleArtActivity(activity.Activity): toolbar.insert(separator, -1) separator.show() - def _add_button(name, tooltip, callback, toolbar, accelerator=None, arg=None): + def _add_button(self, name, tooltip, callback, toolbar, accelerator=None, arg=None): """ add a button to a toolbar """ button = ToolButton(name) button.set_tooltip(tooltip) |