diff options
author | Joey Hess <joey@kitenet.net> | 2013-04-08 22:54:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-04-08 22:54:02 -0400 |
commit | 81ebac3402d72a2cbdacd6830367dcd28429d105 (patch) | |
tree | e9e269220bbe5cf1cb621233f292dc4aa2b5843a /Assistant | |
parent | af53d1966bc608553384841ce60b897c131fb816 (diff) |
animate syncing and other activity icons
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Alert.hs | 1 | ||||
-rw-r--r-- | Assistant/Types/Alert.hs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Alert.hs b/Assistant/Alert.hs index d4770f646..944da07d9 100644 --- a/Assistant/Alert.hs +++ b/Assistant/Alert.hs @@ -94,6 +94,7 @@ syncAlert rs = baseActivityAlert , alertHeader = Just $ tenseWords [Tensed "Syncing" "Synced", "with", showRemotes rs] , alertPriority = Low + , alertIcon = Just SyncIcon } syncResultAlert :: [Remote] -> [Remote] -> Alert diff --git a/Assistant/Types/Alert.hs b/Assistant/Types/Alert.hs index 34bbc1b08..1ca886242 100644 --- a/Assistant/Types/Alert.hs +++ b/Assistant/Types/Alert.hs @@ -50,7 +50,7 @@ data Alert = Alert , alertButton :: Maybe AlertButton } -data AlertIcon = ActivityIcon | SuccessIcon | ErrorIcon | InfoIcon | TheCloud +data AlertIcon = ActivityIcon | SyncIcon | SuccessIcon | ErrorIcon | InfoIcon | TheCloud type AlertMap = M.Map AlertId Alert |