[Xfce4-commits] <tumbler:master> Set "modified" of thumbnailers runtime registered to the current time.

Jannis Pohlmann noreply at xfce.org
Mon Nov 16 14:54:03 CET 2009


Updating branch refs/heads/master
         to 5ee1adb916e8e755e043fd9e048129369544930c (commit)
       from 6e38ae21707602947f1ca9dae0315b89ff2ea845 (commit)

commit 5ee1adb916e8e755e043fd9e048129369544930c
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Tue Nov 3 01:40:17 2009 +0100

    Set "modified" of thumbnailers runtime registered to the current time.

 tumblerd/tumbler-specialized-thumbnailer.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index 1af2c33..6642518 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -416,16 +416,19 @@ tumbler_specialized_thumbnailer_new_foreign (DBusGConnection    *connection,
                                              const gchar *const *mime_types)
 {
   TumblerSpecializedThumbnailer *thumbnailer;
+  GTimeVal                       current_time;
 
   g_return_val_if_fail (connection != NULL, NULL);
   g_return_val_if_fail (name != NULL, NULL);
   g_return_val_if_fail (uri_schemes != NULL, NULL);
   g_return_val_if_fail (mime_types != NULL, NULL);
 
+  g_get_current_time (&current_time);
+
   thumbnailer = g_object_new (TUMBLER_TYPE_SPECIALIZED_THUMBNAILER, 
                               "connection", connection, "foreign", TRUE, "name", name, 
                               "uri-schemes", uri_schemes, "mime-types", mime_types,
-                              NULL);
+                              "modified", current_time.tv_sec, NULL);
 
   return TUMBLER_THUMBNAILER (thumbnailer);
 }



More information about the Xfce4-commits mailing list