[Sugar-devel] [PATCH Browse] Revert unintended chage while releasing v138, in commit 7b16255c7f71123d17eddb4d2e3e9ea5faff9164

Manuel Quiñones manuq at laptop.org
Fri Jun 15 12:37:41 EDT 2012


My repository wasn't clean at the time of the release, sorry.

Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 webactivity.py |   10 +++-------
 1 file 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)
-- 
1.7.10.1



More information about the Sugar-devel mailing list