[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    [Panel-devel] getThemePath broken in SK
From:       petri.damsten () iki ! fi (Petri Damsten)
Date:       2005-06-05 18:41:58
Message-ID: 200506051941.52570.petri.damsten () iki ! fi
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic