diff options
author | florent <florent.pigout@gmail.com> | 2011-09-11 12:50:21 (GMT) |
---|---|---|
committer | florent <florent.pigout@gmail.com> | 2011-09-11 12:50:21 (GMT) |
commit | 670e5aa091357bac5fab2fa96215aee449e55a55 (patch) | |
tree | 858acb2bc10685f9a9650c16cdcecaa35332f0ac | |
parent | 641b5872544f379f8335366c1e6663975b925621 (diff) |
fix programming error in activity template
-rw-r--r-- | creactivity/_templates/+package+/activity.py_tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/creactivity/_templates/+package+/activity.py_tmpl b/creactivity/_templates/+package+/activity.py_tmpl index 9001465..28f01da 100644 --- a/creactivity/_templates/+package+/activity.py_tmpl +++ b/creactivity/_templates/+package+/activity.py_tmpl @@ -37,8 +37,6 @@ class {{package.capitalize()}}Activity(activity.Activity): def __init_toolbar(self): """Keep an example of how to manage toolbar in our webapp ... """ - # show - _toolbox.show() # init entry for url _entry = gtk.Entry() # show @@ -53,6 +51,8 @@ class {{package.capitalize()}}Activity(activity.Activity): _toolbar.add(_entry) # get toolbox _toolbox = activity.ActivityToolbox(self) + # show + _toolbox.show() # add tool bars self.set_toolbox(self._toolbox) # add toolbar |