Fix compatibility with Cinnamon 2.2.14 (and maybe some other versions).

I could not load the applet with Cinnamon 2.2.14.
This patch seems to make it work.