~ubuntu-branches/ubuntu/vivid/gpodder/vivid

« back to all changes in this revision

Viewing changes to src/gpodder/gtkui/desktop/trayicon.py

  • Committer: Bazaar Package Importer
  • Author(s): tony mancill
  • Date: 2011-07-08 21:54:34 UTC
  • mfrom: (5.2.19 sid)
  • Revision ID: james.westby@ubuntu.com-20110708215434-2sna9a2clzsz6c5z
Tags: 2.16-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
            self.__icon = gtk.gdk.pixbuf_new_from_file(self.__icon_filename)
65
65
        except Exception, exc:
66
66
            log('Warning: Cannot load gPodder icon, will use the default icon (%s)', exc, sender=self)
67
 
            self.__icon = gtk.icon_theme_get_default().load_icon(gtk.STOCK_DIALOG_QUESTION, 30, 30)
 
67
            self.__icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, True, 8, 30, 30)
 
68
            self.__icon.fill(0xFF00007F)
68
69
 
69
70
        # Reset trayicon (default icon, default tooltip)
70
71
        self.__current_pixbuf = None