Pass the md5sum to the call to g_strconcat to create the path to the
2005-07-13 Rodney Dawes <dobey@novell.com> * gnome-wp-info.c (gnome_wp_info_new): Pass the md5sum to the call to g_strconcat to create the path to the thumbnail file Fixes #310293
This commit is contained in:
parent
2ad4a31496
commit
72f3f194b1
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-07-13 Rodney Dawes <dobey@novell.com>
|
||||
|
||||
* gnome-wp-info.c (gnome_wp_info_new): Pass the md5sum to the call
|
||||
to g_strconcat to create the path to the thumbnail file
|
||||
|
||||
Fixes #310293
|
||||
|
||||
2005-07-10 Rodney Dawes <dobey@novell.com>
|
||||
|
||||
* gnome-wp-capplet.[ch]:
|
||||
|
|
|
@ -69,11 +69,17 @@ GnomeWPInfo * gnome_wp_info_new (const gchar * uri,
|
|||
escaped_path,
|
||||
info->mtime);
|
||||
if (new->thumburi == NULL) {
|
||||
gchar * md5sum;
|
||||
|
||||
md5sum = gnome_thumbnail_md5 (escaped_path);
|
||||
|
||||
new->thumburi = g_strconcat (g_get_home_dir (),
|
||||
"/.thumbnails/normal/",
|
||||
escaped_path,
|
||||
md5sum,
|
||||
".png",
|
||||
NULL);
|
||||
|
||||
g_free (md5sum);
|
||||
}
|
||||
new->name = g_strdup (info->name);
|
||||
new->mime_type = g_strdup (info->mime_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue