f-spot r4162 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4162 - trunk/src
- Date: Tue, 8 Jul 2008 09:55:03 +0000 (UTC)
Author: sdelcroix
Date: Tue Jul 8 09:55:02 2008
New Revision: 4162
URL: http://svn.gnome.org/viewvc/f-spot?rev=4162&view=rev
Log:
fix PhotoQuery.MarkChanged
Modified:
trunk/src/PhotoQuery.cs
Modified: trunk/src/PhotoQuery.cs
==============================================================================
--- trunk/src/PhotoQuery.cs (original)
+++ trunk/src/PhotoQuery.cs Tue Jul 8 09:55:02 2008
@@ -224,10 +224,7 @@
public void MarkChanged (int [] indexes, bool metadata_changed, bool data_changed)
{
- List<Photo> to_emit = new List<Photo> ();
- foreach (int index in indexes)
- to_emit.Add (photos [index]);
- store.EmitChanged (to_emit.ToArray (), metadata_changed, data_changed);
+ ItemsChanged (this, new BrowsableEventArgs(indexes, metadata_changed, data_changed));
}
[Obsolete ("You should provide info on what changed!")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]