[maemo-commits] [maemo-commits] r16458 - in projects/haf/trunk/hildon-thumbnail: . albumart-providers/googleimages
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Oct 22 18:49:08 EEST 2008
- Previous message: [maemo-commits] r16456 - projects/haf/trunk
- Next message: [maemo-commits] r16459 - in projects/haf/doc: . mvo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-22 18:49:06 +0300 (Wed, 22 Oct 2008) New Revision: 16458 Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/google-images-art-downloader.vala Log: 2008-10-22 Philip Van Hoof <philip at codeminded.be> * albumart-providers/googleimages/google-images-art-downloader.vala: Using .part files Modified: projects/haf/trunk/hildon-thumbnail/ChangeLog =================================================================== --- projects/haf/trunk/hildon-thumbnail/ChangeLog 2008-10-22 15:18:28 UTC (rev 16457) +++ projects/haf/trunk/hildon-thumbnail/ChangeLog 2008-10-22 15:49:06 UTC (rev 16458) @@ -1,3 +1,8 @@ +2008-10-22 Philip Van Hoof <philip at codeminded.be> + + * albumart-providers/googleimages/google-images-art-downloader.vala: + Using .part files + 2008-10-22 Marius Vollmer <marius.vollmer at nokia.com> Released 3.0.7 @@ -3,5 +8,5 @@ 2008-10-22 Philip Van Hoof <philip at codeminded.be> - + * thumbs/hildon-thumbnail-obj.c * thumbs/hildon-thumbnail-factory.h Modified: projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/google-images-art-downloader.vala =================================================================== --- projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/google-images-art-downloader.vala 2008-10-22 15:18:28 UTC (rev 16457) +++ projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/google-images-art-downloader.vala 2008-10-22 15:49:06 UTC (rev 16458) @@ -107,7 +107,7 @@ DirUtils.create_with_parents (cache_dir, 0770); File online_image = File.new_for_uri (url.str); - File cache_image = File.new_for_path (cache_path); + File cache_image = File.new_for_path (cache_path + ".part"); // Copy from Google images to local cache @@ -115,6 +115,8 @@ FileCopyFlags.NONE, null, null); + + FileUtils.rename (cache_path + ".part", cache_path); } } catch (GLib.Error error) {
- Previous message: [maemo-commits] r16456 - projects/haf/trunk
- Next message: [maemo-commits] r16459 - in projects/haf/doc: . mvo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]