[gnome-photos] facebook-item: Fix the nao:identifier prefix



commit 3c8640471bda710f04362b9cc1233461f6a9dd0f
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon May 25 15:05:03 2015 +0200

    facebook-item: Fix the nao:identifier prefix
    
    It has always been 'facebook:', not 'facebook:photos:'.

 src/photos-facebook-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-facebook-item.c b/src/photos-facebook-item.c
index 61c73fd..3f0b247 100644
--- a/src/photos-facebook-item.c
+++ b/src/photos-facebook-item.c
@@ -176,7 +176,7 @@ photos_facebook_item_download (PhotosBaseItem *item, GCancellable *cancellable,
   local_dir = g_build_filename (cache_dir, PACKAGE_TARNAME, "facebook", NULL);
   g_mkdir_with_parents (local_dir, 0700);
 
-  identifier = photos_base_item_get_identifier (item) + strlen ("facebook:photos:");
+  identifier = photos_base_item_get_identifier (item) + strlen ("facebook:");
   local_filename = g_strdup_printf ("%s.jpeg", identifier);
   local_path = g_build_filename (local_dir, local_filename, NULL);
   if (g_file_test (local_path, G_FILE_TEST_EXISTS))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]