Fix notifications

The check wether it was a new commit always returned false
This commit is contained in:
Hylke Bons 2011-07-21 00:49:09 +01:00
parent 45b6f0e668
commit 67056369af

View file

@ -441,9 +441,8 @@ namespace SparkleLib {
if (SyncStatusChanged != null)
SyncStatusChanged (SyncStatus.Idle);
SparkleChangeSet change_set = GetChangeSets (1) [0];
if (NewChangeSet != null && change_set.Revision != CurrentRevision)
NewChangeSet (change_set, LocalPath);
if (NewChangeSet != null)
NewChangeSet (GetChangeSets (1) [0], LocalPath);
// There could be changes from a
// resolved conflict. Tries only once,