<br><br><div class="gmail_quote">2012/3/29 Manuel Quiñones <span dir="ltr"><<a href="mailto:manuq@laptop.org">manuq@laptop.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El día 29 de marzo de 2012 14:11, Rafael Ortiz<br>
<<a href="mailto:rafael@activitycentral.com">rafael@activitycentral.com</a>> escribió:<br>
<div><div class="h5">><br>
><br>
> On Thu, Mar 29, 2012 at 9:44 AM, Manuel Kaufmann <<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Mar 29, 2012 at 11:43, Manuel Kaufmann <<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>> wrote:<br>
>> > Added two buttons in the toolbar to generate a new level (harder or<br>
>> > easier).<br>
>> > These butons do the same work than '+' and '-' keys respectively.<br>
>> ><br>
>> > Icons by Manuel Quiñones (manuq).<br>
>> ><br>
>> > This commit solves ticket: #3376<br>
>><br>
>> The new PATCH with the correct icons by Manuel Quiñones :D<br>
>><br>
>> Thanks!<br>
>><br>
>> --<br>
>> Kaufmann Manuel<br>
>> Blog: <a href="http://humitos.wordpress.com/" target="_blank">http://humitos.wordpress.com/</a><br>
>> Porfolio: <a href="http://fotos.mkaufmann.com.ar/" target="_blank">http://fotos.mkaufmann.com.ar/</a><br>
>> PyAr: <a href="http://www.python.com.ar/" target="_blank">http://www.python.com.ar/</a><br>
>> _______________________________________________<br>
>> Sugar-devel mailing list<br>
>> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
>> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
><br>
> Ok tested and applied as:<br>
><br>
> <a href="http://git.sugarlabs.org/maze/mainline/commit/d1f63be988a0fe2b6c376ad7dedae451ed7031e8" target="_blank">http://git.sugarlabs.org/maze/mainline/commit/d1f63be988a0fe2b6c376ad7dedae451ed7031e8</a><br>
><br>
<br>
</div></div>Seems that activity.py is missing import gtk, log follows:<br>
<br>
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)<br>
1333048859.273543 WARNING root: KeepButton has been deprecated since<br>
Sugar 0.94 and should not be used in newly written code.<br>
1333048859.283074 WARNING root: No gtk.AccelGroup in the top level window.<br>
1333048859.292646 WARNING root: No gtk.AccelGroup in the top level window.<br>
/home/manuq/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/graphics/window.py:194:<br>
Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed<br>
self.__vbox.pack_start(toolbar_box, False)<br>
Traceback (most recent call last):<br>
File "/home/manuq/sugar-jhbuild/install/bin/sugar-activity", line<br>
146, in <module><br>
main()<br>
File "/home/manuq/sugar-jhbuild/install/bin/sugar-activity", line 141, in main<br>
instance = create_activity_instance(activity_constructor, activity_handle)<br>
File "/home/manuq/sugar-jhbuild/install/bin/sugar-activity", line<br>
34, in create_activity_instance<br>
activity = constructor(handle)<br>
File "/usr/lib/python2.7/site-packages/olpcgames/activity.py", line<br>
104, in __init__<br>
toolbar = self.build_toolbar()<br>
File "/home/manuq/Activities/Maze.activity/activity.py", line 19, in<br>
build_toolbar<br>
separator = gtk.SeparatorToolItem()<br>
NameError: global name 'gtk' is not defined<br>
Exited with status 1, pid 27861 data (None, <open file '<fdopen>',<br>
mode 'w' at 0xab1dd30>,<br>
dbus.ByteArray('f67fd66a6bf9fb7f3ba3b1ebd034a4f5388c5bc7',<br>
variant_level=1))<br>
<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>After Release I did other commits one of them accidentally removed gtk.</div><div><br></div><div> <a href="http://git.sugarlabs.org/maze/mainline/commit/fa1cb850dd555a6283280458d0b2cec3af941d01">http://git.sugarlabs.org/maze/mainline/commit/fa1cb850dd555a6283280458d0b2cec3af941d01</a></div>
<div><br></div><div>Should be ok now:</div><div><br></div><div><a href="http://git.sugarlabs.org/maze/mainline/commit/a63dcf50f59536a86b8c799a6b19a9d8dc32fff4">http://git.sugarlabs.org/maze/mainline/commit/a63dcf50f59536a86b8c799a6b19a9d8dc32fff4</a></div>
<div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
.. manuq ..<br>
</font></span></blockquote></div><br>