[f-spot/mipmapped-loading: 6/12] Remove thumbnails through the PhotoLoader.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/mipmapped-loading: 6/12] Remove thumbnails through the PhotoLoader.
- Date: Fri, 2 Jul 2010 13:55:50 +0000 (UTC)
commit 788312bf7a7f89f85f41e1b5f7b670b3a5208776
Author: Ruben Vermeersch <ruben savanne be>
Date: Sun Jun 20 14:35:54 2010 +0200
Remove thumbnails through the PhotoLoader.
src/Core/Photo.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Photo.cs b/src/Core/Photo.cs
index 104615c..3777468 100644
--- a/src/Core/Photo.cs
+++ b/src/Core/Photo.cs
@@ -273,7 +273,8 @@ namespace FSpot
file.Delete ();
}
try {
- XdgThumbnailSpec.RemoveThumbnail (uri);
+ var loader = App.Instance.Loaders.RequestLoader (versions [version_id]);
+ loader.ClearCache ();
} catch {
//ignore an error here we don't really care.
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]