summaryrefslogtreecommitdiff
blob: 8e5558733d297cced7676a80ab4ff7a54e5f4ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- dopi-old/src/DopiWindow.cs	2007-02-05 23:53:15.000000000 +0100
+++ dopi/src/DopiWindow.cs	2007-02-06 23:33:42.000000000 +0100
@@ -54,7 +54,12 @@ namespace Dopi {
 
             tips = new Tooltips ();
 
-            Gdk.Pixbuf pixbuf = IconTheme.Default.LoadIcon ("gnome-dev-ipod", 24, 0);
+            Gdk.Pixbuf pixbuf = null;
+            try {
+                pixbuf = IconTheme.Default.LoadIcon ("gnome-dev-ipod", 24, 0);
+            } catch (GLib.GException e) {
+            }
+
             if (pixbuf != null) {
                 this.Icon = pixbuf;
             }