Also expose ItemStarted events

This commit is contained in:
Jakob Borg 2014-08-05 13:14:04 +02:00
parent a8799efa94
commit 8ea1e302c3
2 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,7 @@ const (
func init() {
l.AddHandler(logger.LevelWarn, showGuiError)
sub := events.Default.Subscribe(^events.EventType(events.ItemStarted | events.ItemCompleted))
sub := events.Default.Subscribe(events.AllEvents)
eventSub = events.NewBufferedSubscription(sub, 1000)
}

View File

@ -23,7 +23,6 @@ const (
LocalIndexUpdated
RemoteIndexUpdated
ItemStarted
ItemCompleted
StateChanged
AllEvents = ^EventType(0)