[f-spot/rubenv-gsoc-2009: 73/86] Only hide status bar when needed.



commit 772513f47220239b84e0361214d8e8fbe448deae
Author: Ruben Vermeersch <ruben savanne be>
Date:   Wed Aug 12 14:44:34 2009 +0200

    Only hide status bar when needed.

 src/PhotoImageView.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index fb0dae9..28f14dd 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -291,11 +291,12 @@ namespace FSpot.Widgets {
 		void HandleCompleted (object sender, ItemsCompletedEventArgs args)
 		{
 			Log.DebugTimerPrint (timer, "Loading image took {0} (" + args.Items.ToString () + ")");
-			HideStatus ();
 			IImageLoader loader = sender as IImageLoader;
 			if (loader != Loader)
 				return;
 
+			HideStatus ();
+
 			Pixbuf prev = this.Pixbuf;
 			if (current_item != args.Items.Largest ()) {
 				current_item = args.Items.Largest ();



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