[Sugar-devel] rethinking your icon customization patch
Simon Schampijer
simon at schampijer.de
Thu Jun 20 05:31:28 EDT 2013
This thread is about the technical solving of the issue, did we agree on
making this change, really? I am not at all convinced.
What do people think about my proposal with adding a picture/drawing per
kid that is part of the Palette then? We can see if we want to transfer
this compressed to the other users to have that available in the
neighborhood views. But we would have the same issue with the modified
icon that is proposed here.
Simon
On 06/19/2013 04:43 PM, Walter Bender wrote:
> Here are some thoughts about the custom icon patch:
>
> (1) if we prepend ~/.sugar/icons to the theme icon path, then anything
> in that path will be used (as long as we flush the cache) as per
> dnarvaez's comment on the patch
> (2) if we have a sugar activity for selecting svg files (from the
> journal and some samples) and loading the selected file as
> computer-xo.svg into ~/.sugar/icons then we are done.
>
> #1 is a two-line addition to jarabe/main.py
>
> icons_path = os.path.join(os.path.expanduser('~'), '.sugar', 'icons')
> Gtk.IconTheme.get_default().prepend_search_path(icons_path)
>
> #2 is similar to what you already did for the cpsection, only it is a
> stand-alone activity similar to xo-colors
>
> We can use Turtle Art and other activities to generate SVGs. (The old
> version of xo-colors let you edit the XO icon... with revisiting in
> this context.)
>
> We need to figure out how to flush the icon cache.
>
> regards.
>
> -walter
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list