[Sugar-devel] [PATCH 1/2] Revert to original layout (<=v35) for Sugar <=0.84
James Cameron
quozl at laptop.org
Mon Aug 23 02:14:38 EDT 2010
On Sat, Aug 21, 2010 at 10:34:25PM +0530, Anish Mangal wrote:
> diff --git a/pippy_app.py b/pippy_app.py
> index fc8aaaa..30312c2 100644
> --- a/pippy_app.py
> +++ b/pippy_app.py
> @@ -51,6 +67,19 @@ SIZE_Y = gtk.gdk.screen_height()
>
> groupthink_mimetype = 'pickle/groupthink-pippy'
>
> +# modded ActivityToolbarButton which has its toolbar object public
> +class ActivityToolbarButton(ToolbarButton):
This fails on Sugar 0.84 because ToolbarButton is unknown.
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 112, in main
module = __import__(module_name)
File "/home/olpc/Activities/Pippy.activity/pippy_app.py", line 72, in <module>
class ActivityToolbarButton(ToolbarButton):
NameError: name 'ToolbarButton' is not defined
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list