示例#1
0
 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);
 }
示例#2
0
        public void SetUp()
        {
            Gtk.Application.Init ();
            try {
                File.Delete (path);
            } catch {}

            db = new Db ();
            db.Init (path, true);
        }
示例#3
0
        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);
            }
        }