[nautilus] Add more info to DEBUG_THUMBNAILS
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Add more info to DEBUG_THUMBNAILS
- Date: Thu, 16 Aug 2012 12:58:30 +0000 (UTC)
commit 817d552680fcca8fd73725068b617bd0ed112ab5
Author: William Jon McCann <jmccann redhat com>
Date: Wed Aug 15 12:19:59 2012 -0400
Add more info to DEBUG_THUMBNAILS
libnautilus-private/nautilus-thumbnails.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-thumbnails.c b/libnautilus-private/nautilus-thumbnails.c
index 130d89d..c4c43e0 100644
--- a/libnautilus-private/nautilus-thumbnails.c
+++ b/libnautilus-private/nautilus-thumbnails.c
@@ -602,12 +602,20 @@ thumbnail_thread_start (gpointer data)
info->mime_type);
if (pixbuf) {
+#ifdef DEBUG_THUMBNAILS
+ g_message ("(Thumbnail Thread) Saving thumbnail: %s\n",
+ info->image_uri);
+#endif
gnome_desktop_thumbnail_factory_save_thumbnail (thumbnail_factory,
pixbuf,
info->image_uri,
current_orig_mtime);
g_object_unref (pixbuf);
} else {
+#ifdef DEBUG_THUMBNAILS
+ g_message ("(Thumbnail Thread) Thumbnail failed: %s\n",
+ info->image_uri);
+#endif
gnome_desktop_thumbnail_factory_create_failed_thumbnail (thumbnail_factory,
info->image_uri,
current_orig_mtime);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]