From df138c5f7823bd0bdc0a0fa5dbe2f78395592029 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 7 May 2010 15:58:20 +0100 Subject: [PATCH] fix count issue in spinner --- SparkleShare/SparkleSpinner.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleSpinner.cs b/SparkleShare/SparkleSpinner.cs index 3bfe75ea..ffc006b0 100644 --- a/SparkleShare/SparkleSpinner.cs +++ b/SparkleShare/SparkleSpinner.cs @@ -68,7 +68,7 @@ namespace SparkleShare { if (CurrentStep < NumSteps) CurrentStep++; else - CurrentStep = 1; + CurrentStep = 0; Pixbuf = Images [CurrentStep]; } @@ -77,7 +77,8 @@ namespace SparkleShare { } public void Start () { - Active = true; + CurrentStep = 0; + Active = true; Timer.Start (); }