[f-spot] Reload preview pixmap to default if empty collection is found
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Reload preview pixmap to default if empty collection is found
- Date: Thu, 20 May 2010 22:31:55 +0000 (UTC)
commit dad45c09ca1332fa44d488790fcf5950af5c36ae
Author: Paul Wellner Bou <paul purecodes org>
Date: Thu May 20 14:36:01 2010 +0200
Reload preview pixmap to default if empty collection is found
https://bugzilla.gnome.org/show_bug.cgi?id=619171
src/ImportCommand.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ImportCommand.cs b/src/ImportCommand.cs
index 7511d4d..49b00ce 100644
--- a/src/ImportCommand.cs
+++ b/src/ImportCommand.cs
@@ -741,6 +741,9 @@ public class ImportCommand : GladeDialog
AllowFinish = true;
collection.AddAll (info);
+
+ if(collection.Count == 0)
+ photo_view.Pixbuf = GtkUtil.TryLoadIcon (FSpot.Global.IconTheme, "f-spot", 128, (Gtk.IconLookupFlags)0);
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]