[maemo-commits] [maemo-commits] r16923 - projects/haf/trunk/hildon-thumbnail/thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Dec 10 11:06:15 EET 2008
- Previous message: [maemo-commits] r16922 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16924 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-12-10 11:06:13 +0200 (Wed, 10 Dec 2008) New Revision: 16923 Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c Log: Bugfix Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-12-10 09:04:47 UTC (rev 16922) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-12-10 09:06:13 UTC (rev 16923) @@ -221,7 +221,7 @@ if (item->flags & HILDON_THUMBNAIL_FLAG_CROP) { path = cropped; - } else if (item->width >= 128) { + } else if (item->width >= 128 || item->height >= 128) { path = large; } else { path = normal; @@ -494,7 +494,7 @@ if (flags & HILDON_THUMBNAIL_FLAG_CROP) { if (g_file_test (cropped, G_FILE_TEST_EXISTS)) break; - } else if (width >= 128) { + } else if (width >= 128 || height >= 128) { if (g_file_test (large, G_FILE_TEST_EXISTS)) break; } else { Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-12-10 09:04:47 UTC (rev 16922) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-12-10 09:06:13 UTC (rev 16923) @@ -150,7 +150,7 @@ } else { filei = local; } - } else if (r_priv->width >= 128) { + } else if (r_priv->width >= 128 || r_priv->height >= 128) { local = g_file_new_for_uri (lpaths[1]); if (!g_file_query_exists (local, NULL)) { filei = g_file_new_for_path (paths[1]);
- Previous message: [maemo-commits] r16922 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16924 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]