Category Archives: python

decorator factory for dbus-python methods

This is a crazy idea I had; that I want to share with people. When you're implementing an object in dbus-python, you decorate your published method calls like this: class ExampleObserver(dbus.service.Object): … @dbus.service.method(dbus_interface=telepathy.interfaces.CLIENT_OBSERVER, in_signature='ooa(oa{sv})oaoa{sv}', out_signature='') def ObserveChannels(self, account, connection, channels, … Continue reading

Posted in hacking, python, telepathy, work | Comments Off

quick and dirty icon theme viewer

So very often I find myself trying to find the name of an icon in the icon theme, and I end up having to search through my icon theme with a combination of find and eog. Usually I miss the … Continue reading

Posted in gtk, hacking, icon themes, python, tool | Comments Off