Comment 5 for bug 691759

Revision history for this message
Christopher Stubban (stoobers) wrote :

I'm using the package through apt-get in ubuntu 10.04.

caffeine -a

Traceback (most recent call last):
  File "/usr/bin/caffeine", line 40, in <module>
    import caffeine
  File "/usr/bin/../share/pyshared/caffeine/__init__.py", line 171, in <module>
    from caffeine.main import main
  File "/usr/bin/../share/pyshared/caffeine/main.py", line 53, in <module>
    generic = icon_theme.load_icon("application-x-executable", 16, gtk.ICON_LOOKUP_NO_SVG)
glib.GError: Icon 'application-x-executable' not present in theme

If possible, can someone point me in a possible direction as to how I may fix this? I'm new to python and I'm not sure where to look first. Where can I read about this "load_icon" method and is there a way I can substitute a different icon?

Or is there a library missing? Am I running the wrong version of python.