diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-07-29 08:26:52 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-07-29 08:26:52 +0000 |
commit | 1eea1f30c1e83b1274e4a218153324fa6c2810c8 (patch) | |
tree | 38aea038b58ebb0ffbe1f679cf336593adfd5588 /src | |
parent | 93c0054bda32ab0589db95e7995e4fc9ab142e02 (diff) |
Look for the thumbnail in the normal and large thumbnails, not twice in
2008-07-29 Bastien Nocera <hadess@hadess.net>
* src/plugins/thumbnail/totem-thumbnail.c (update_from_state):
Look for the thumbnail in the normal and large thumbnails, not
twice in the normal ones, spotted by Robin Stocker <robin@nibor.org>
svn path=/trunk/; revision=5526
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/thumbnail/totem-thumbnail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/thumbnail/totem-thumbnail.c b/src/plugins/thumbnail/totem-thumbnail.c index ae52af49..eb2a9947 100644 --- a/src/plugins/thumbnail/totem-thumbnail.c +++ b/src/plugins/thumbnail/totem-thumbnail.c @@ -129,12 +129,13 @@ update_from_state (TotemThumbnailPluginPrivate *priv, NULL); pixbuf = gdk_pixbuf_new_from_file (file_name, &err); + /* Try loading from the "large" thumbnails if normal fails */ if (pixbuf == NULL && err != NULL && err->domain == G_FILE_ERROR) { g_clear_error (&err); g_free (file_name); file_name= g_build_filename (g_get_home_dir (), ".thumbnails", - "normal", + "large", file_basename, NULL); |