About the cache, did you try<div><br></div><div><span></span><span style="font-family:Helvetica;white-space:nowrap"><a href="https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-rescan-if-needed">https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-rescan-if-needed</a></span><br>
<br>On Wednesday, 19 June 2013, Walter Bender wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here are some thoughts about the custom icon patch:<br>
<br>
(1) if we prepend ~/.sugar/icons to the theme icon path, then anything<br>
in that path will be used (as long as we flush the cache) as per<br>
dnarvaez's comment on the patch<br>
(2) if we have a sugar activity for selecting svg files (from the<br>
journal and some samples) and loading the selected file as<br>
computer-xo.svg into ~/.sugar/icons then we are done.<br>
<br>
#1 is a two-line addition to jarabe/main.py<br>
<br>
icons_path = os.path.join(os.path.expanduser('~'), '.sugar', 'icons')<br>
Gtk.IconTheme.get_default().prepend_search_path(icons_path)<br>
<br>
#2 is similar to what you already did for the cpsection, only it is a<br>
stand-alone activity similar to xo-colors<br>
<br>
We can use Turtle Art and other activities to generate SVGs. (The old<br>
version of xo-colors let you edit the XO icon... with revisiting in<br>
this context.)<br>
<br>
We need to figure out how to flush the icon cache.<br>
<br>
regards.<br>
<br>
-walter<br>
<br>
<br>
--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
</blockquote></div><br><br>-- <br>Daniel Narvaez<br><br>