Re: [PATCH] Support for PopupApplets in Python

2010-03-01 Thread Richard Dale
On Sun, Feb 28, 2010 at 8:26 PM, Simon Edwards wrote: > Richard Dale wrote: >> On Sat, Feb 27, 2010 at 4:42 PM, Luca Beltrame >> wrote: >>> In data sabato 27 febbraio 2010 15:13:23, Petri Damstén ha scritto: Python popup applet with extenders: http://websvn.kde.org/trunk/KDE/kdeexample

Re: [PATCH] Support for PopupApplets in Python

2010-02-28 Thread Aaron J. Seigo
On February 28, 2010, Simon Edwards wrote: > If I remember correctly, (it has been a while since I've looked), the > Python code doesn't create the instance of the Applet itself. Plasma > does this by itself, but the plasmoid developer has to provide their own > AppletScript object which acts a pro

Re: [PATCH] Support for PopupApplets in Python

2010-02-28 Thread Simon Edwards
Richard Dale wrote: > On Sat, Feb 27, 2010 at 4:42 PM, Luca Beltrame > wrote: >> In data sabato 27 febbraio 2010 15:13:23, Petri Damstén ha scritto: >>> Python popup applet with extenders: >>> http://websvn.kde.org/trunk/KDE/kdeexamples/plasma/python/applets/pyhello/ >> Thanks, then my patch is c

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Richard Dale
On Sat, Feb 27, 2010 at 4:42 PM, Luca Beltrame wrote: > In data sabato 27 febbraio 2010 15:13:23, Petri Damstén ha scritto: >> Python popup applet with extenders: >> http://websvn.kde.org/trunk/KDE/kdeexamples/plasma/python/applets/pyhello/ > > Thanks, then my patch is completely unnecessary, as t

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Luca Beltrame
In data sabato 27 febbraio 2010 15:13:23, Petri Damstén ha scritto: > Python popup applet with extenders: > http://websvn.kde.org/trunk/KDE/kdeexamples/plasma/python/applets/pyhello/ Thanks, then my patch is completely unnecessary, as the standard __getattr__ method is enough. I'll probably use

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Petri Damstén
On Saturday 27 February 2010 14:59:11 Richard Dale wrote: > On Sat, Feb 27, 2010 at 11:33 AM, Luca Beltrame > > wrote: > > In data sabato 27 febbraio 2010 12:20:37, Simon Edwards ha scritto: > >> Luca, do you have a simple example of a PopupApplet that I can look at > >> and test with? > > > > Y

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Richard Dale
On Sat, Feb 27, 2010 at 11:33 AM, Luca Beltrame wrote: > In data sabato 27 febbraio 2010 12:20:37, Simon Edwards ha scritto: > >> Luca, do you have a simple example of a PopupApplet that I can look at >> and test with? > > You hit the nail on the head here. The fact is, I can't, as discussed with

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Luca Beltrame
In data sabato 27 febbraio 2010 12:20:37, Simon Edwards ha scritto: > Luca, do you have a simple example of a PopupApplet that I can look at > and test with? You hit the nail on the head here. The fact is, I can't, as discussed with Richard Dale on IRC. I tried, looking at the code of the variou

Re: [PATCH] Support for PopupApplets in Python

2010-02-27 Thread Simon Edwards
Hello, Luca Beltrame wrote: > as I said, I've been trying to hack in support for PopupApplets in Python. > This patch is a first version of such a thing, which at least enables the > proper binding when used scripted applets. > > It needs some review, as I'm unfamiliar on how PopupApplets work,

[PATCH] Support for PopupApplets in Python

2010-02-20 Thread Luca Beltrame
Hello, as I said, I've been trying to hack in support for PopupApplets in Python. This patch is a first version of such a thing, which at least enables the proper binding when used scripted applets. It needs some review, as I'm unfamiliar on how PopupApplets work, and if I'm doing the right th