Permalink
Browse files

Merge branch 'refactor-tray-icon' into integration

  • Loading branch information...
multani committed Jun 22, 2011
2 parents 5d69535 + 13da1a2 commit a46e684bed09732df52021acdca3f572a3c0b3ac
Showing with 5 additions and 0 deletions.
  1. +5 −0 sonata/tray.py
View
@@ -232,6 +232,11 @@ def is_available(self):
return True
def _set_tray_image(self):
+ if self.eggtrayheight is None:
+ # The tray height has not been computed yet, so we can't display the
+ # tray icon yet.
+ return
+
self.trayimage.set_from_pixbuf(
img.get_pixbuf_of_size(
gtk.gdk.pixbuf_new_from_file(self.eggtrayfile),

0 comments on commit a46e684

Please sign in to comment.