Aubin Paul wrote:
> So
>     icondir = os.path.join(config.ICON_DIR, 'status')
> has ICON_DIR based on the skin?

No, that code needs to be changed. config.ICONDIR is the normal
share/icons. Were even that code is, it should _not_ set an icon dir
variable. 

There is the function skin.get_icon(name):
|  icon = util.getimage(os.path.join(self.settings.icon_dir, name))
|  if icon:
|      return icon
|  return util.getimage(os.path.join(config.ICON_DIR, name), '')

but I also see that there is a wrapper in area.py if you use loadimage
(or drawinage with a filename):

| if image.find(config.ICON_DIR) == 0 and image.find(self.settings.icon_dir) == -1:
|     new_image = os.path.join(self.settings.icon_dir, image[len(config.ICON_DIR)+1:])
|     if os.path.isfile(new_image):
|         image = new_image

So yes, maybe it already works if you put stuff from icons/foo/bar.png
to icons/themes/blurr/foo/bar.png


Dischi

-- 
There can't be a crisis today, my schedule is already full.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to