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

List:       kde-panel-devel
Subject:    Re: A question about the rc files in $HOME/.kde/share/config/
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-08-28 13:27:08
Message-ID: 200908280727.17505.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On August 28, 2009, WuYongbo wrote:
> how are plasma-appletrc and plasmarc (in  $HOME/.kde/share/config/) created
> after .kde file are deleted manually ?

Plasma::Corona has a virtual method called loadDefaultLayout. DesktopCorona in 
kdebase/workspace/plasma/shells/desktop/desktopcorona.cpp implements this 
method and has a bunch of hardcoded defaults.

In KDE 4.4, however, we will be offering something much nicer: the ability to 
define default layouts using ECMA Script.

This means you can do things like offer different layouts based on screen 
resolution or different layouts for different users and groups using a very 
easy approach. You can read about it in the blog entry Juan linked to or see 
the (work in progress) API documentation here:

http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/plasma/design/plasma-
desktop-scripting

so for 4.4 this will be much nicer :)

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

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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