[maemo-commits] [maemo-commits] r16077 - projects/haf/branches/hildon-thumbnail/daemonize/thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 9 18:48:34 EEST 2008
Author: pvanhoof
Date: 2008-09-09 18:48:32 +0300 (Tue, 09 Sep 2008)
New Revision: 16077

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
Log:
Bugfix

Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-09 15:46:35 UTC (rev 16076)
+++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-09 15:48:32 UTC (rev 16077)
@@ -88,6 +88,10 @@
 		g_strfreev (mimetypes);
 	}
 
+	// TODO: replace this with a script that launches the thumbnailer for all
+	// required sizes. This is of course not good enough. Also look at the todo
+	// below!
+
 	r_cmd = g_strdup_printf (CONVERT_CMD, cmd);
 
 	g_key_file_set_string (keyfile, mime_type, "Exec", r_cmd);
@@ -121,6 +125,11 @@
 		z = 0;
 
 		for (i = 0; i< length; i++) {
+			
+			// TODO: if above it's replaced with a script, we better
+			// make sure this is fixed to cope with whatever changes
+			// above too
+			
 			gchar *exec = g_key_file_get_string (keyfile, o[i], "Exec", NULL);
 
 			if (exec) {


More information about the maemo-commits mailing list