~ubuntu-branches/ubuntu/lucid/monodevelop/lucid

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.GtkCore/libstetic/WidgetUtils.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-01-10 14:25:59 UTC
  • mfrom: (1.2.5 upstream) (1.3.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100110142559-sorji5exvk9tyknr
Tags: 2.2+dfsg-2
* debian/rules/remove_support_for_non_debian_functionality.patch:
  + Also fix monodevelop-core-addins.pc to remove links to the
    addins we remove in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
                                        try {
283
283
                                                missingIcon = Gtk.IconTheme.Default.LoadIcon ("gtk-missing-image", 16, 0);
284
284
                                        } catch {}
285
 
                                        if (missingIcon == null)
286
 
                                                missingIcon = Gdk.Pixbuf.LoadFromResource ("missing.png");
 
285
                                        if (missingIcon == null) {
 
286
                                                try {
 
287
                                                        missingIcon = Gdk.Pixbuf.LoadFromResource ("missing.png");
 
288
                                                } catch (Exception e) {
 
289
                                                        Console.WriteLine ("Error while loading pixbuf 'missing.png': " + e);
 
290
                                                }
 
291
                                        }
287
292
                                }
288
293
                                return missingIcon;
289
294
                        }