[f-spot] avoid changing the Pixbuf on HandleDone if the pixbuf is already the right one
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] avoid changing the Pixbuf on HandleDone if the pixbuf is already the right one
- Date: Wed, 17 Jun 2009 04:19:32 -0400 (EDT)
commit 75feab829a12a2ce4826a27431d5c8b080cae39e
Author: Stephane Delcroix <stephane delcroix org>
Date: Tue Jun 16 13:13:16 2009 +0200
avoid changing the Pixbuf on HandleDone if the pixbuf is already the right one
src/PhotoImageView.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 873f862..cef140f 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -183,7 +183,8 @@ namespace FSpot.Widgets {
this.ZoomFit ();
}
} else {
- this.Pixbuf = loader.Pixbuf;
+ if (Pixbuf != loader.Pixbuf)
+ Pixbuf = loader.Pixbuf;
if (!loader.Prepared || !ShowProgress) {
this.ZoomFit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]