repo: Add Initialize method for lengthy ctor operations
This commit is contained in:
parent
fb82977b97
commit
b734569abe
|
@ -130,6 +130,12 @@ namespace SparkleLib {
|
||||||
SyncUpBase ();
|
SyncUpBase ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void Initialize ()
|
||||||
|
{
|
||||||
// Sync up everything that changed
|
// Sync up everything that changed
|
||||||
// since we've been offline
|
// since we've been offline
|
||||||
if (AnyDifferences) {
|
if (AnyDifferences) {
|
||||||
|
|
|
@ -622,6 +622,7 @@ namespace SparkleShare {
|
||||||
UpdateState ();
|
UpdateState ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
repo.Initialize ();
|
||||||
Repositories.Add (repo);
|
Repositories.Add (repo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue