[Panel-devel] getThemePath broken in SK

Petri Damsten petri.damsten at iki.fi
Sun Jun 5 18:41:49 CEST 2005


On Sunday 05 June 2005 19:08, Ryan Nickell wrote:
> This is the line he's using getThemePath:
> langfile = open(karamba.getThemePath(widget) + '/translations/' +
> language, 'r')
> getThemePath doesn't make sense to be used in zipped themes if they
> can't use it as a path to functions that want to open a file for
> reading.  What I propose is a new function similar to readThemeFile that
> is exposed to python land, or just remove it.

I think that readThemeFile must be exposed to python, so theme doesn't have to 
know is it zip theme or not. I'll look on this next.

What comes to translations there could be a common way to include translations 
to skz themes.

Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20050605/e877c0e7/attachment.pgp


More information about the Panel-devel mailing list