GNOME Bugzilla – Bug 526325
f-spot crashes in import dialog when icon not found
Last modified: 2008-04-12 18:51:47 UTC
When users mess up their icon caches, they report errors like this: GLib.GException: Icon 'f-spot' not present in theme at Gtk.IconTheme.LoadIcon (System.String icon_name, Int32 size, IconLookupFlags flags) [0x00000] at ImportCommand.ImportFromFile (.PhotoStore store, System.String path) [0x00000] at MainWindow.HandleImportCommand (System.Object sender, System.EventArgs e) [0x00000] at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr gch) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Application.gtk_main() at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at FSpot.Driver.Main(System.String[] args)
Created attachment 108669 [details] [review] Use GtkUtil.TryIconLoad in import dialog 2008-04-05 Tim Retout <tim@retout.co.uk> * src/ImportCommand.cs (ImportFromFile): Use GtkUtil.TryLoadIcon to avoid throwing an exception when f-spot icon is not found.
*** Bug 527757 has been marked as a duplicate of this bug. ***