diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-09-14 17:32:28 +0400 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-11-08 01:20:17 +0300 |
commit | bac9bfffbf911196f0cadf6b3d49cdd2ba74cca5 (patch) | |
tree | a1fc8bd35701ce482745e327711f441fa5438a26 /main/src/addins/WindowsPlatform | |
parent | c715dd51ba574ebdb28cb9826072454787e4c267 (diff) |
[Windows] Only start taskbar progress on 0 progress.
Diffstat (limited to 'main/src/addins/WindowsPlatform')
-rw-r--r-- | main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs index 716502c139..33e4eed6a7 100644 --- a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs +++ b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs @@ -78,7 +78,8 @@ namespace MonoDevelop.Platform if (progress == 1) { TaskbarManager.Instance.SetProgressState (TaskbarProgressBarState.NoProgress); } else { - TaskbarManager.Instance.SetProgressState (TaskbarProgressBarState.Normal); + if (progress == 0) + TaskbarManager.Instance.SetProgressState (TaskbarProgressBarState.Normal); TaskbarManager.Instance.SetProgressValue ((int)(progress * 100f), 100); } } |