예제 #1
0
파일: MergeDb.cs 프로젝트: iainlane/f-spot
 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
파일: TagStore.cs 프로젝트: iainlane/f-spot
        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);
            }
        }