py3 fix: has_key
py3 fix: idioms
py3 fix: import
fix SyntaxError in starcal-gnome2-applet.py