avoiding knotify during KDE startup

Lubos Lunak l.lunak at suse.cz
Wed Sep 15 17:16:51 CEST 2004


On Wednesday 15 of September 2004 16:26, Lubos Lunak wrote:
> On Wednesday 15 of September 2004 15:56, Waldo Bastian wrote:
> > On Wednesday 15 September 2004 15:44, Lubos Lunak wrote:
> > >  The KNotifyDialog change checks if the ksmserver event is disabled,
> > > and if yes, turns off starting knotify in startkde. Hmmmm, although
> > > thinking of this right now, perhaps knotify startup could be simply
> > > always avoided in startkde? KNotifyClient starts the daemon anyway if
> > > necessary, and I doubt anybody would notice the delay caused by this
> > > with the startkde sound.
> >
> > Sounds like a cleaner solution indeed. Is there anything that talks to
> > KNotify directly without using KNotifyClient?
>
>  I don't think so, and I'd consider that broken. KNotifyClient needs to
> start the daemon anyway if the app is running outside of KDE, and after
> all, the DCOP call is:
> void notify(QString,QString,QString,QString,QString,int,int,int,int)

 Ok, to actually update the patches for this - this reduces the size a bit:

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knotifyclient.cpp.patch
Type: text/x-diff
Size: 2556 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20040915/e79b96ec/knotifyclient.cpp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knotify.cpp.patch
Type: text/x-diff
Size: 1639 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20040915/e79b96ec/knotify.cpp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knotify.h.patch
Type: text/x-diff
Size: 327 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20040915/e79b96ec/knotify.h.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.cpp.patch
Type: text/x-diff
Size: 454 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20040915/e79b96ec/server.cpp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startkde.patch
Type: text/x-diff
Size: 461 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20040915/e79b96ec/startkde.bin


More information about the Kde-optimize mailing list