[Panel-devel] Plasma::Theme and default theme

Aaron J. Seigo aseigo at kde.org
Sun Nov 4 01:58:58 CET 2007


On Saturday 03 November 2007, Ivan Čukić wrote:
> The current state of thing is that if you put an non-existant theme in
> plasmarc, for example:
>
> [Theme]
> name=nothing
>
> Plasma crashes. 

please include backtraces with crash reports.

> What do you think about adding a fallback in the 
> Theme::image() that first checks for
>   "desktoptheme/" + d->themeName + '/' + name + ".svg";
> and if there's no file that matches checks for
>   "desktoptheme/default/' + name + ".svg";

makes sense.

it would still be good to fix the crash as well (what happens if there is no 
default theme available for some bizarre reason?) ... i'm checking it right 
now in fact and will hopefully have a fix shortly

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- 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/20071103/9e29fca3/attachment.pgp 


More information about the Panel-devel mailing list