Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-06-01 18:45:18 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-06-01 18:45:18 (GMT)
commit7b16255c7f71123d17eddb4d2e3e9ea5faff9164 (patch)
tree930ff6675a098748f38e143894f17d1a73dad7e6 /webactivity.py
parent2009091c304fa892727d90c23e93257ffa150d6b (diff)
Release 138v138
Diffstat (limited to 'webactivity.py')
-rw-r--r--webactivity.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/webactivity.py b/webactivity.py
index fe01754..d33913f 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -185,9 +185,14 @@ class WebActivity(activity.Activity):
self._primary_toolbar.connect('go-home', self._go_home_button_cb)
- self._edit_toolbar_button = ToolbarButton(
- page=self._edit_toolbar,
- icon_name='toolbar-edit')
+ # self._edit_toolbar_button = ToolbarButton(
+ # page=self._edit_toolbar,
+ # icon_name='toolbar-edit')
+
+ self._edit_toolbar_button = ToolbarButton()
+ self._edit_toolbar_button.set_page(self._edit_toolbar)
+ self._edit_toolbar_button.props.icon_name = 'toolbar-edit'
+
self._primary_toolbar.toolbar.insert(
self._edit_toolbar_button, 1)