[f-spot] Fix animation prioritization.



commit 4825a7eb50b9f6306cbaddf93dc18c492777a7a2
Author: Ruben Vermeersch <ruben savanne be>
Date:   Thu May 13 00:40:49 2010 +0200

    Fix animation prioritization.

 src/Bling/Animation.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Bling/Animation.cs b/src/Bling/Animation.cs
index 7eca223..bbdc2e9 100644
--- a/src/Bling/Animation.cs
+++ b/src/Bling/Animation.cs
@@ -75,7 +75,7 @@ namespace FSpot.Bling
 				throw new InvalidOperationException ("Can't Resume () a non running animation.");
 			starttime = DateTimeOffset.Now - pausedafter;
 			state = AnimationState.Running;
-			Sources.SetPriority (GLib.Timeout.Add (40, Handler), GLib.Priority.DefaultIdle);
+			Sources.SetPriority (GLib.Timeout.Add (40, Handler), priority);
 		}
 
 		public void Start ()
@@ -84,7 +84,7 @@ namespace FSpot.Bling
 				throw new InvalidOperationException ("Can't Start () a running or paused animation.");
 			starttime = DateTimeOffset.Now;
 			state = AnimationState.Running;
-			Sources.SetPriority (GLib.Timeout.Add (40, Handler), GLib.Priority.DefaultIdle);
+			Sources.SetPriority (GLib.Timeout.Add (40, Handler), priority);
 		}
 
 		public void Stop ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]