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

List:       kde-panel-devel
Subject:    [Panel-devel] SuperKaramba as Unique Application
From:       mail () wiedenbruch ! de (A !  Wiedenbruch)
Date:       2005-07-16 19:41:20
Message-ID: 200507162141.20688.mail () wiedenbruch ! de
[Download RAW message or body]

Hi there,

as I found out, is SK started more than one time when one opens themes with 
a .theme or .skz file.

I thought that it would be easier to change it to a KUniqueApplication instead 
of a KApplication. So here is a patch for that.

All DCOP calls should probably be removed (see KarambaApplication::addKaramba)
because there is only one instance running now.

I also fixed a few little other bugs, and found some new I think.
Perhaps someone with more experience with DCOP can check the functions, 
because the add/delete calls are blocking SK (happens also prior my patch).

Perhaps you can test a bit the parts that changed, like command line arguments 
and session handling. I will have missed something. Comments are welcome.

Ciao
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unique.patch
Type: text/x-diff
Size: 11087 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20050716/690c6cb8/unique.bin

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

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