From 68e40429fb88bc04f8b006fa0dfc7a44609a5cbf Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sat, 7 Jul 2007 20:41:58 -0400 Subject: [PATCH] Ignore errors when trying to display buddy pictures --- shell/view/BuddyMenu.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index aae4e1ea..df2337a9 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),