[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting kmail in the system tray



On Saturday 02 December 2006 17:51, Chris wrote:
> On Friday 01 December 2006 21:38, Kevin Krammer wrote:
> > On Friday 01 December 2006 21:00, Chris wrote:
> > > sleep 5
> > > dcop kmail kmail-mainwindow#1 setHidden on
> > >
> > > If I don't wait a second it doesn't find kmail yet.  If I could get
> > > dcop to wait for kmail to finish "starting" that would be perfect.
> >
> > Try dcopstart
> >
> > Theoretically it should return once the DCOP name "kmail" becomes
> > available, but KMail might not have registered all its objects yet
> >
> > Cheers,
> > Kevin
>
> sorry, but could you do you mean
>
> dcopstart kmail | dcop kmail kmail-mainwindow#1 setHidden on

No, more like

dcop $(dcopstart kmail) kmail-mainwindow#1 setHidden on

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: pgpjkaxm5R2WQ.pgp
Description: PGP signature


Reply to: