Small fix



Hi -

In CreateDefaultTags() in src/TagStore.cs, it looks like some cut-n-
pasting was done incorrectly, and the default icon for the places
category is set a couple of times, instead of the correct tag's icon.
I've attached a patch to fix this. I'll create an entry in bugzilla, but
just wanted to make sure this gets noticed, as without a method to
modify associated icons for tags, this error can't be fixed.

-- Matt Jones
? default-tags.diff
Index: TagStore.cs
===================================================================
RCS file: /cvs/gnome/f-spot/src/TagStore.cs,v
retrieving revision 1.7
diff -u -r1.7 TagStore.cs
--- TagStore.cs	11 Feb 2004 07:27:33 -0000	1.7
+++ TagStore.cs	7 Jul 2004 08:54:27 -0000
@@ -298,12 +298,12 @@
 		Commit (places_category);
 
 		Tag events_category = CreateCategory (RootCategory, "Events");
-		places_category.StockIconName = "f-spot-events.png";
+		events_category.StockIconName = "f-spot-events.png";
 		events_category.SortPriority = -7;
 		Commit (events_category);
 
 		Tag other_category = CreateCategory (RootCategory, "Other");
-		places_category.StockIconName = "f-spot-other.png";
+		other_category.StockIconName = "f-spot-other.png";
 		other_category.SortPriority = -6;
 		Commit (other_category);
 	}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]