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

List:       koffice-devel
Subject:    Re: kword default look
From:       jaham () gmx ! net
Date:       2009-03-23 23:51:33
Message-ID: 200903240051.34130.jaham () gmx ! net
[Download RAW message or body]

On Monday 23 March 2009 23:52:10 Cyrille Berger wrote:
> On Monday 23 March 2009, Boudewijn Rempt wrote:
> > Look in krita's code for that -- we actually install an rc file now.
>
> It's here:
> http://websvn.kde.org:80/trunk/koffice/krita/data/kritarc?revision=936996&v
>iew=markup
>
> And add this to your CMakeLists.txt:
> install( FILES kritarc DESTINATION ${CONFIG_INSTALL_DIR} )
>
> Basically the rc file in ${CONFIG_INSTALL_DIR} get loaded before the one in
> ${KDEHOME}/share/config , so default value end up there, and only if the
> user make custom changes, the file in share/config is changed. (which is
> basically the case for the "state", but not for the shapes selection)

Good stuff, i've just done that for karbon too.

Ciao Jan

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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