Klipper as applet only

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Mon Sep 9 19:47:22 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Monday 09 September 2002 19:47, you wrote:

Hiya,

>  Both those problems are caused by the change to inherit TopLevel from
> KSystemTray. And an applet is of course no tray icon. I tried to fix the

ahh, nasty!

> - it would be possible to get rid of the startup hacks for Klipper (that
> 'oh, you really don't want me? not even later?' dialog), messing with the
> autostart/klipper.desktop file and so on.

There is no messing with the autostart folder anymore, just some 
config->writeEntry( "AutoStart", bool );

> - since most people run it all the time anyway, it should be IMHO an applet
> anyway (since AFAIK that's the difference between applets and trayed apps)

Hmmno, I also run kradio, kget, knetload and kalarmd all the time, all running 
in the system tray. And I don't need to buy a bigger monitor, because they 
only take ~60 x 80 pixels instead of 60 x 150 pixels.

> - it would of course make those if( is_applet ) ... else ... unnecessary

I'm not fond of those, but I said that a long time ago :)

>  Reasons against:
> - does anybody still have any clipboard problems since I fixed the Qt
> problem almost a year ago?

- - the applet still takes way too much space

If you really want to keep the applet version, then refactor toplevel.* as it 
should have been done long ago. Make one widget inheriting KSystemTray and 
another inheriting KPanelApplet, the rest can be done in a different class.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPXzsvKWgYMJuwmZtAQGhlQf+LghUjo3EBjsecCarmfBXYeZGV4QYcI2u
7ZeDhllDL423+RD5K4/gk5Wk7sodCyzRne63cpa7UEJ5I0GwSWMB+OuE4badH16H
FxSo/Ua78yuPrFqx8jKhlrHlVlMnjnMY6Zm372GxvMo41aIdSLPA78gVqI9M29TN
pGuQkDRYiL7hAlpW1aRcS8tweHk1lWl8navrBKRzsBpLlGmA4cgWB5PY2ArQ2AJb
SFnjlob9AV/MgrdMXDFPBXpIQCZsRlnALfDVWChkgntBeHH2Lp6mJ2oDyABxvVgZ
ayJMAf0YBB3jHhdOJdtpE6wgyORUKjSsCOzYBnYnHY/sZDvMq24FYg==
=WMcJ
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list