Comment 22 for bug 1241944

Revision history for this message
Alexander Heuer (evilphish) wrote :

Hmm, maybe I did it wrong but I only needed to add the print line (which of course won't really change the outcome)
My magick-rotation looks like this:
# removal necessitating an App Indicator in 13.04 (12.04.3?) and later?
release = distro_split[1]
major_version = (release.split('.'))[0]
if distro == "Ubuntu":
    if int(major_version) >= 13:
        try:
            import appindicator # should only be available in Unity (and KDE?)
            have_appindicator = True
        except:
            have_appindicator = False
        print "have_appindicator", have_appindicator
    else:
        have_appindicator = False

prog_ver="1.7"

and the gui_gtk.py like this:
release = distro_split[1]
major_version = (release.split('.'))[0]
if distro == "Ubuntu":
    if int(major_version) >= 13:
        try:
            import appindicator # should only be available in Unity (and KDE?)
            have_appindicator = True
        except:
            have_appindicator = False
        print "have_appindicator", have_appindicator
    else:
        have_appindicator = False

prog_ver="1.7"

using the print commands the output is now:
have_appindicator False
Magick is using a gtk.StatusIcon.
have_appindicator False
Configuration file ~/.magick-rotation.xml not found.
Will load the defaults instead.
checking for rotation
/usr/bin/checkmagick64