public static void Merge(string path, Db to_db) { Log.Warning ("Will merge db {0} into main f-spot db {1}", path, FSpot.Global.BaseDirectory + "/photos.db" ); Db from_db = new Db (); from_db.Init (path, true); //MergeDb mdb = new MergeDb (from_db, to_db); }
public void SetUp() { Gtk.Application.Init (); try { File.Delete (path); } catch {} db = new Db (); db.Init (path, true); }
public void SetUp() { Gtk.Application.Init (); try { File.Delete (path); } catch {} db = new Db (); db.Init (path, true); foreach (string image in images) { File.Copy ("../images/" + image, "./" + image, true); } }