[Sugar-devel] About adding toolkit_type and toolkit_version options to bundles
Ignacio Rodríguez
nachoel01 at gmail.com
Mon Feb 17 07:35:05 EST 2014
Sorry, but was about:
>>> import test2
>>> hasattr(test2, "gtk")
True
>>> hasattr(test2, "Gtk")
False
>>>
If "Gtk" this return True
>>> import test3
>>> hasattr(test3, "gtk")
False
>>> hasattr(test3, "Gtk")
True
>>>
Just a idea
Saludos.
Ignacio Rodríguez
2014-02-17 10:31 GMT-02:00 Gonzalo Odiard <godiard at sugarlabs.org>:
> This is a reply to @dnarvaez comment
>
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356
>
> The addition of a field to identify gtk2/gtk3 activities,
> was proposed as a solution to View Source issue [1]
>
> I think there are two other easier ways to solve this particular issue:
>
> * check the setup.py file
> * check the file with the startup class (view source already identify the
> file, see [2]
>
> Making changes to the activity.info file usually take a long time
> to get included in a significant number of activities,
> if we can solve it in the code is better in my opinion.
>
> --
> Gonzalo Odiard
>
> SugarLabs - Learning Software for children
>
> [1]
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/104#issuecomment-35170356
> [2]
> https://github.com/sugarlabs/sugar/blob/master/src/jarabe/view/viewsource.py#L205
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140217/637c69ba/attachment.html>
More information about the Sugar-devel
mailing list