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

List:       kde-commits
Subject:    Re: KDE/kdebase/workspace/plasma
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-11-01 22:30:42
Message-ID: 200711011630.42753.aseigo () kde ! org
[Download RAW message or body]


On Thursday 01 November 2007, Chris Howells wrote:
> Frerich Raabe wrote:
> >> that's why we have bool failedToLaunch() ... you can do if
> >> (applet->failedToLaunch()). we don't keep the failure reason text
> >> around or an error code, though. would you find that useful? what sort
> >> of error handling did you want to do?
> >
> > Ah, failedToLaunch(); I think I tried that without success, but maybe I
> > cannot use it right after calling Applet::loadApplet()
> > but have to wait until it was added to the containment or so. I'll
> > experiment some more with that when I get home.

it's a property of the Applet so it should be usable even from the Applet 
subclasses ctor.

> > I'd want to display a message box saying
> >
> > "The plasma applet 'oglyglorn' couldn't be loaded, failed to find an
> > applet with that name."

yep, that's what it is for.

> Even though it's a bit easier in OSS because you have the source, I have
> been frustrated in the past with the previous KDE 4 betas because
> plamoids have failed to work for no apparent reason. I don't have too
> much time to work on KDE these days, but it'd be nice to debug the odd
> issue :)

this is almost always because of BIC changes in the libs.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

[Attachment #3 (application/pgp-signature)]

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

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