diff options
author | Dan Williams <dcbw@redhat.com> | 2007-07-08 00:41:58 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-07-08 00:41:58 (GMT) |
commit | 68e40429fb88bc04f8b006fa0dfc7a44609a5cbf (patch) | |
tree | 494460e2c5412bc179675dce09beac0f11ed3fd2 /shell | |
parent | bbb9e9e3b9eff9c667fd954d32464b60b2cd78be (diff) |
Ignore errors when trying to display buddy pictures
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/BuddyMenu.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index aae4e1e..df2337a 100644 --- a/shell/view/BuddyMenu.py +++ b/shell/view/BuddyMenu.py @@ -32,7 +32,11 @@ class BuddyMenu(Palette): Palette.__init__(self, buddy.get_nick()) - pixbuf = self._get_buddy_icon_pixbuf() + pixbuf = None + try: + pixbuf = self._get_buddy_icon_pixbuf() + except gobject.GError, e: + pass if pixbuf: scaled_pixbuf = pixbuf.scale_simple(units.grid_to_pixels(1), units.grid_to_pixels(1), |