f-spot r3975 - trunk/src/Widgets
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3975 - trunk/src/Widgets
- Date: Thu, 22 May 2008 15:02:18 +0000 (UTC)
Author: sdelcroix
Date: Thu May 22 15:02:18 2008
New Revision: 3975
URL: http://svn.gnome.org/viewvc/f-spot?rev=3975&view=rev
Log:
refrech the cached image
Modified:
trunk/src/Widgets/PreviewPopup.cs
Modified: trunk/src/Widgets/PreviewPopup.cs
==============================================================================
--- trunk/src/Widgets/PreviewPopup.cs (original)
+++ trunk/src/Widgets/PreviewPopup.cs Thu May 22 15:02:18 2008
@@ -27,11 +27,8 @@
return show_histogram;
}
set {
- // if (value != show_histogram) {
- // preview_cache.Dispose ();
- // preview_cache = new DisposableCache<string, Pixbuf> (50);
- // item = -1;
- // }
+ if (value != show_histogram)
+ item = -1;
show_histogram = value;
}
}
@@ -126,7 +123,7 @@
}
if (pixbuf != null) {
- preview_cache.Add (orig_path, pixbuf + show_histogram.ToString ());
+ preview_cache.Add (orig_path + show_histogram.ToString (), pixbuf);
AddHistogram (pixbuf);
image.Pixbuf = pixbuf;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]