Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-06-15 16:34:52 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-06-15 17:08:48 (GMT)
commit130ed3a7408316b4cb62b1598f7d71819b905cd4 (patch)
tree0aada9a6ef60f9b62fd63abc628f91fe880b16f1
parent64b77eef3c3714056174e22351fc570138817a93 (diff)
Revert unintended change while releasing v138, in commit 7b16255c7f71123d17eddb4d2e3e9ea5faff9164
My repository wasn't clean at the time of the release, sorry. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--webactivity.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/webactivity.py b/webactivity.py
index bca6b18..2149259 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -184,13 +184,9 @@ 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()
- self._edit_toolbar_button.set_page(self._edit_toolbar)
- self._edit_toolbar_button.props.icon_name = 'toolbar-edit'
+ self._edit_toolbar_button = ToolbarButton(
+ page=self._edit_toolbar,
+ icon_name='toolbar-edit')
self._primary_toolbar.toolbar.insert(
self._edit_toolbar_button, 1)