f-spot r4226 - in trunk: . src
- From: lmilesi svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4226 - in trunk: . src
- Date: Tue, 5 Aug 2008 14:07:10 +0000 (UTC)
Author: lmilesi
Date: Tue Aug 5 14:07:10 2008
New Revision: 4226
URL: http://svn.gnome.org/viewvc/f-spot?rev=4226&view=rev
Log:
2008-08-05 Lorenzo Milesi <maxxer yetopen it>
* src/TagStore.cs: don't trash the db if an icon contains invalid
characters. fix bgo#545902.
Modified:
trunk/ChangeLog
trunk/src/TagStore.cs
Modified: trunk/src/TagStore.cs
==============================================================================
--- trunk/src/TagStore.cs (original)
+++ trunk/src/TagStore.cs Tue Aug 5 14:07:10 2008
@@ -171,7 +171,11 @@
tag = new Tag (null, id, name);
if (reader [4] != null)
- SetIconFromString (tag, reader [4].ToString ());
+ try {
+ SetIconFromString (tag, reader [4].ToString ());
+ } catch (Exception ex) {
+ Log.Exception ("Unable to load icon for tag " + name, ex);
+ }
tag.SortPriority = Convert.ToInt32 (reader[3]);
AddToCache (tag);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]