f-spot r3972 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3972 - trunk/src
- Date: Thu, 22 May 2008 12:16:59 +0000 (UTC)
Author: sdelcroix
Date: Thu May 22 12:16:58 2008
New Revision: 3972
URL: http://svn.gnome.org/viewvc/f-spot?rev=3972&view=rev
Log:
Fix the bug preventing to load the PreviewPopup on the first image
Modified:
trunk/src/PreviewPopup.cs
Modified: trunk/src/PreviewPopup.cs
==============================================================================
--- trunk/src/PreviewPopup.cs (original)
+++ trunk/src/PreviewPopup.cs Thu May 22 12:16:58 2008
@@ -26,8 +26,7 @@
return show_histogram;
}
set {
- if (value != show_histogram) {
-
+ if (value != show_histogram) {
preview_cache.Dispose ();
preview_cache = new ThumbnailCache (50);
item = -1;
@@ -39,7 +38,7 @@
private FSpot.Histogram hist;
private ThumbnailCache preview_cache = new ThumbnailCache (50);
- private int item;
+ private int item = -1;
new public int Item {
get {
return item;
@@ -188,7 +187,6 @@
int item = view.CellAtPosition (x, y);
if (item >= 0) {
this.Item = item;
- UpdatePosition ();
Show ();
} else {
this.Hide ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]