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) if (SyncStatusChanged != null)
SyncStatusChanged (SyncStatus.Idle); SyncStatusChanged (SyncStatus.Idle);
SparkleChangeSet change_set = GetChangeSets (1) [0]; if (NewChangeSet != null)
if (NewChangeSet != null && change_set.Revision != CurrentRevision) NewChangeSet (GetChangeSets (1) [0], LocalPath);
NewChangeSet (change_set, LocalPath);
// There could be changes from a // There could be changes from a
// resolved conflict. Tries only once, // resolved conflict. Tries only once,