f-spot r3817 - in trunk: . src
- From: sdelcroix svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: f-spot r3817 - in trunk: . src
 
- Date: Fri, 11 Apr 2008 16:12:36 +0100 (BST)
 
Author: sdelcroix
Date: Fri Apr 11 16:12:36 2008
New Revision: 3817
URL: http://svn.gnome.org/viewvc/f-spot?rev=3817&view=rev
Log:
2008-04-11  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. Fixes bgo #526325.
Modified:
   trunk/ChangeLog
   trunk/src/ImportCommand.cs
Modified: trunk/src/ImportCommand.cs
==============================================================================
--- trunk/src/ImportCommand.cs	(original)
+++ trunk/src/ImportCommand.cs	Fri Apr 11 16:12:36 2008
@@ -624,7 +624,7 @@
 		GtkUtil.ModifyColors (photo_scrolled);
 		GtkUtil.ModifyColors (photo_view);
 
-		photo_view.Pixbuf = FSpot.Global.IconTheme.LoadIcon ("f-spot", 48, (Gtk.IconLookupFlags)0);
+		photo_view.Pixbuf = GtkUtil.TryLoadIcon (FSpot.Global.IconTheme, "f-spot", 48, (Gtk.IconLookupFlags)0);
 		photo_view.Fit = true;
 			
 		tag_entry = new FSpot.Widgets.TagEntry (MainWindow.Toplevel.Database.Tags, false);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]