View Single Post
Posts: 187 | Thanked: 41 times | Joined on May 2010
#5
Originally Posted by Venemo View Post
YES, you can set up a gconf monitor.
You can specify a callback method, and it will call you back when the actual desktop has been changed.

You can checkout Sticky Notes to see how.

The actual relevant code is in this file. (Added to Sticky Notes via svn:externals.)

If you have questions about it, just ask.

Note that there is also a Qt-based gconf client in libqg. (Part of MAFW), though I preferred to use gconf directly.
Any examples in Python ?
I am changing the sms_counter plugin ... and i am using EOP (Example oriented programming :P)