f-spot r4500 - in trunk: . src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4500 - in trunk: . src
- Date: Fri, 17 Oct 2008 09:08:05 +0000 (UTC)
Author: sdelcroix
Date: Fri Oct 17 09:08:04 2008
New Revision: 4500
URL: http://svn.gnome.org/viewvc/f-spot?rev=4500&view=rev
Log:
same for JobStore
Modified:
trunk/ChangeLog
trunk/src/JobStore.cs
Modified: trunk/src/JobStore.cs
==============================================================================
--- trunk/src/JobStore.cs (original)
+++ trunk/src/JobStore.cs Fri Oct 17 09:08:04 2008
@@ -101,11 +101,11 @@
private Job LoadItem (SqliteDataReader reader)
{
return (Job) Activator.CreateInstance (
- Type.GetType (reader [1].ToString ()),
- Convert.ToUInt32 (reader[0]),
- reader[2].ToString (),
- Convert.ToInt32 (reader[3]),
- (JobPriority) Convert.ToInt32 (reader[4]),
+ Type.GetType (reader ["job_type"].ToString ()),
+ Convert.ToUInt32 (reader["id"]),
+ reader["job_options"].ToString (),
+ Convert.ToInt32 (reader["run_at"]),
+ (JobPriority) Convert.ToInt32 (reader["job_priority"]),
true);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]