Blob Blame History Raw
diff -up gnome-games-2.22.1.1/glchess/src/lib/gtkui/network.py.fix-icons gnome-games-2.22.1.1/glchess/src/lib/gtkui/network.py
--- gnome-games-2.22.1.1/glchess/src/lib/gtkui/network.py.fix-icons	2008-04-16 13:17:55.000000000 -0400
+++ gnome-games-2.22.1.1/glchess/src/lib/gtkui/network.py	2008-04-16 14:17:44.000000000 -0400
@@ -341,11 +341,19 @@ class GtkNetworkGameDialog(glchess.ui.Ne
         size = 32
         self._throbberFrames = []
         
-        icon = theme.load_icon('process-idle', size, 0)
+        try:
+                icon = theme.load_icon('process-idle', size, 0)
+        except gobject.GError, e:
+                icon = None
+
         if icon is not None:
             self._throbberFrames.append(icon)
 
-        icon = theme.load_icon('process-working', size, 0)
+        try:
+                icon = theme.load_icon('process-working', size, 0)
+        except gobject.GError, e:
+                icon = None
+
         if icon is not None:
             # If a smaller icon was received than expected then use that size
             height = icon.get_height()
@@ -356,7 +364,10 @@ class GtkNetworkGameDialog(glchess.ui.Ne
                 for j in xrange(width / size):
                     frame = icon.subpixbuf(j * size, i * size, size, size)
                     self._throbberFrames.append(frame)
-                
+
+        if len(self._throbberFrames) == 0:
+                self._throbberFrames.append(theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0))
+
         # Display idle frame
         self._throbberFrame = 0
         self._updateThrobber()