[f-spot: 18/40] Display the error image TopLeft
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot: 18/40] Display the error image TopLeft
- Date: Wed, 24 Jun 2009 09:49:12 +0000 (UTC)
commit bd0faa2047642ea05a936c4918dc91f782628f22
Author: Stephane Delcroix <stephane delcroix org>
Date: Sun Jun 21 21:01:19 2009 +0200
Display the error image TopLeft
src/PhotoImageView.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 2630daf..4b1c726 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -233,6 +233,7 @@ namespace FSpot.Widgets {
void HandlePixbufAreaUpdated (object sender, AreaUpdatedEventArgs args)
{
+ ImageLoader loader = sender as ImageLoader;
if (loader != this.loader)
return;
@@ -326,6 +327,7 @@ namespace FSpot.Widgets {
this.Pixbuf = new Gdk.Pixbuf (PixbufUtils.ErrorPixbuf, 0, 0,
PixbufUtils.ErrorPixbuf.Width,
PixbufUtils.ErrorPixbuf.Height);
+ PixbufOrientation = PixbufOrientation.TopLeft;
if (old != null)
old.Dispose ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]