~jconti/recent-notifications/trunk

« back to all changes in this revision

Viewing changes to recent_notifications/Notification.py

  • Committer: Jason Conti
  • Date: 2012-03-24 17:50:31 UTC
  • Revision ID: jason.conti@gmail.com-20120324175031-wz7nta1stvez7q5t
Tags: 0.4.47
Fix typo in Notification.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
  def get_icon(self, size = 48):
112
112
    """Loads the icon into a pixbuf."""
113
 
    if self._image_path != None:
 
113
    if self.image_path != None:
114
114
      icon_name = self.image_path
115
115
    else:
116
116
      icon_name = self.app_icon