repo: don't show warning statusicon upon initial commit

This commit is contained in:
Hylke 2011-06-23 13:56:25 +01:00
parent 98166487ec
commit c5a092c8a4
2 changed files with 4 additions and 16 deletions

View file

@ -527,17 +527,6 @@ namespace SparkleLib {
return message.TrimEnd ();
}
public override void CreateInitialChangeSet ()
{
base.CreateInitialChangeSet ();
Add ();
string message = FormatCommitMessage ();
Commit (message);
}
public override bool UsesNotificationCenter
{
get {

View file

@ -86,12 +86,11 @@ namespace SparkleLib {
this.status = status;
};
if (CurrentRevision == null) {
CreateInitialChangeSet ();
HasUnsyncedChanges = true;
}
CreateWatcher ();
if (CurrentRevision == null)
CreateInitialChangeSet ();
CreateListener ();
this.local_timer.Elapsed += delegate (object o, ElapsedEventArgs args) {