Disabling KCMs in runtime

Waldo Bastian bastian at kde.org
Sat Mar 20 22:53:57 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat March 20 2004 02:35, Frans Englich wrote:
> One way to implement this while not having an unacceptable performance
> penalty is AFAICT to have a boolean "X-KDE-Conditional-Loading" desktop
> directive which determines whether a module needs to test if it should be
> shown or not. If it should be tested, that is
> X-KDE-Conditional-Loading=true, a 'bool test_modulename()' is run when the
> module should be loaded, similar to the init_* or create_* functions. This
> function can then test for presence of software/hardware and `return true;`
> if it should be shown.

Good idea.

Cheers,
Waldo
- -- 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ bastian at kde.org | Is your software SUSE LINUX READY? | bastian at suse.com
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAXMuFN4pvrENfboIRApqnAJ9CQpq1bZILZU/XTCvA1mBaOza5bACdHTnA
fJ9S9I7Bf+6/AFPTt8VCC+8=
=AbDI
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list