Aubin,

Could you code an interface to read all CSS from some dir and them use
them as alternative stylesheets:

<link rel="alternate stylesheet" media="screen" type="text/css"
title="SOME TITLE" href="/path/to/styleX.css" />

And maybe let user to choose the default stylesheet? It would be really
cool!


Gustavo


 --- Aubin Paul <[EMAIL PROTECTED]> escreveu: 
> You're right... I should have dug deeper. Looks like it works...
> 
> So, I just wanted to see if I have to the go ahead to commit the
> "new"
> web interface... 
> 
> Short changes list:
> 
> * Removed as much of the embedded design as possible, 99% is in CSS
> now
> * Converted most tags to XHTML 1.0 standard
> * Changed layout tables into CSS; content tables are still there
> * Respect the user configuration on time display
> * Added lots of "placeholder" tags so the design can be altered
> pretty
>  substantially without touching the code. (This means using
>  span/div/etc. where possible and using 'display: none' if it's not
> in
>  *my* design, but might be used by someone else.
> * Many minor cosmetic changes
> 
> 
> On Mon, Feb 09, 2004 at 12:23:34PM +0100, Dirk Meyer wrote:
> > 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 

______________________________________________________________________

Yahoo! GeoCities: 15MB de espa�o gr�tis para criar seu web site!
http://br.geocities.yahoo.com/


-------------------------------------------------------
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