<div dir="ltr">Sorry, but was about:<div><br></div><div><div>>>> import test2</div><div>>>> hasattr(test2, "gtk")</div><div>True</div><div>>>> hasattr(test2, "Gtk")</div><div>
False</div><div>>>> </div></div><div><br></div><div>If "Gtk" this return True</div><div><div>>>> import test3</div><div>>>> hasattr(test3, "gtk")</div><div>False</div><div>>>> hasattr(test3, "Gtk")</div>
<div>True</div><div>>>> </div></div><div><br></div><div><br></div><div>Just a idea</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Saludos.<div>Ignacio Rodríguez</div></div></div>
<br><br><div class="gmail_quote">2014-02-17 10:31 GMT-02:00 Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is a reply to @dnarvaez comment <div><br></div><div><a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356</a></div>
<div><br></div><div>The addition of a field to identify gtk2/gtk3 activities,</div><div>was proposed as a solution to View Source issue [1]</div><div><br></div><div>I think there are two other easier ways to solve this particular issue:</div>
<div><br></div><div>* check the setup.py file </div><div>* check the file with the startup class (view source already identify the file, see [2]</div><div><br></div><div>Making changes to the <a href="http://activity.info" target="_blank">activity.info</a> file usually take a long time </div>
<div>to get included in a significant number of activities, </div><div>if we can solve it in the code is better in my opinion.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br></div><div><div><div dir="ltr">
Gonzalo Odiard<br><br><div>SugarLabs - Learning Software for children<br>
</div><div><br></div><div>[1] <a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356</a></div>
<div>[2] <a href="https://github.com/sugarlabs/sugar/blob/master/src/jarabe/view/viewsource.py#L205" target="_blank">https://github.com/sugarlabs/sugar/blob/master/src/jarabe/view/viewsource.py#L205</a></div>
</div>
</div></div></font></span></div>
<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></blockquote></div><br></div>