Python Applet and configChanged

2009-05-26 Thread Petri Damstén
Hi, Testing python applet and noticed that configChanged is not forwarded to python applets (attached diff). Currently configChanged is called multiple times at start and at config dialog close. Should Plasma take care of calling configChanged just once in these situations? plasmoidviewer

Re: Python Applet and configChanged

2009-05-26 Thread Aaron J. Seigo
On Tuesday 26 May 2009, Petri Damstén wrote: plasmoidviewer with python applet start (configChanged called 4 times): hm... too many calls to writeConfig are happening, and KConfigSkeleton is Too Dumb(tm) to know that nothing's actually changed. i'll take a look in a bit about this. (i don't

Re: Code snippet review for plasmate

2009-05-26 Thread Shantanu Tushar Jha
On Mon, May 25, 2009 at 8:16 PM, Aaron J. Seigo ase...@kde.org wrote: On Monday 25 May 2009, Shantanu Tushar Jha wrote: (line number 36) KParts::Part *newPart = KService::createInstance( offers.at (0)); offers.at(0).createInstance(parentWidget); Oops, I tried this KParts::Part *newPart

Re: Python Applet and configChanged

2009-05-26 Thread Petri Damstén
On Tuesday 26 May 2009 16:19:39 Aaron J. Seigo wrote: right, we probably don't need the applet to also say the config has changed if (but only if!) we have a config loader, so something like this in AppletPrivate::configDialogFinished(): if (!configLoader) { // manually call

Re: Plasma + QT Kinetic gSoC Project, Looking for co-mentor

2009-05-26 Thread Jesus Sanchez-Palencia
Sorry, I forgot to send this to you. http://docs.google.com/Doc?id=ddq4rqn6_55fzr8skdt good luck! jeez On Thu, May 14, 2009 at 4:37 PM, Akmanalp, Mehmet A makman...@wpi.eduwrote: Which bring us at a kind of funny situation: a project that had already been developed is selected as a GSoC

My SoK project - Plasma D-Bus API

2009-05-26 Thread Ivan Čukić
Hi all Just joking about SoK, but while we are in freeze, I'd like to start the discussion about D-Bus interface for plasma-desktop. From my point of view, we should have the following: - desktop locked state - setters / getters / signals - activities - current activity set/get/signal

Re: Code snippet review for plasmate

2009-05-26 Thread Aaron J. Seigo
On Tuesday 26 May 2009, Shantanu Tushar Jha wrote: On Mon, May 25, 2009 at 8:16 PM, Aaron J. Seigo ase...@kde.org wrote: On Monday 25 May 2009, Shantanu Tushar Jha wrote: (line number 36) KParts::Part *newPart = KService::createInstance( offers.at (0));

Plasma Netbook

2009-05-26 Thread Artur Souza(MoRpHeUz)
Hello everybody! :) Yesterday's night I committed the first code regarding plasma on netbooks. I just created the SAL (search and launch) containment basic files with place holders (just to have something :P ). You can find it in playground/plasma/netbook/ . More information here:

Re: Plasma Netbook

2009-05-26 Thread Marco Martin
On Tuesday 26 May 2009, Artur Souza(MoRpHeUz) wrote: Hello everybody! :) Yesterday's night I committed the first code regarding plasma on netbooks. I just created the SAL (search and launch) containment basic files with place holders (just to have something :P ). You can find it in

Re: My SoK project - Plasma D-Bus API

2009-05-26 Thread Aaron J. Seigo
On Tuesday 26 May 2009, Ivan Čukić wrote: Hi all Just joking about SoK, but while we are in freeze, I'd like to start the discussion about D-Bus interface for plasma-desktop. From my point of view, we should have the following: - desktop locked state - setters / getters / signals -

Re: Plasma Netbook

2009-05-26 Thread Artur Souza(MoRpHeUz)
On Tuesday 26 May 2009, 14:11 Marco Martin wrote: (i think i'll make some simple stupid panel applets here) aaand maybe move shells/plasma-mid under netbook/shell? Sounds good :) I'm just doing something else and should be back to code tomorrow! Cheers!

Re: Plasma Netbook

2009-05-26 Thread Aaron J. Seigo
On Tuesday 26 May 2009, Marco Martin wrote: aaand maybe move shells/plasma-mid under netbook/shell? sounds good. -- 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 Qt Software signature.asc

Re: Python Applet and configChanged

2009-05-26 Thread Aaron J. Seigo
On Tuesday 26 May 2009, Petri Damstén wrote: Yes, seems to be called only once now. I think it still gets called when Cancel is pressed if configLoader == 0? this should be better in trunk now. testing with the javascript Plasma::ScriptEngine i'm only getting configChanged calls when the

knotificationitem: api prettiness

2009-05-26 Thread Marco Martin
Hi all, was talking with richmoore about the api of libknotificationitem, wat did emerged is a thing i wasn't happy about but couldn't quite quantify before: 1) we have two way to set icons: by name and by pixmap, right now by name is setIcon() by pixmap is setImage() (that should reflect in