[libsocialweb] facebook-item-view: Populate authoricon_large with a larger avatar picture



commit 6508454c8652398621881936df79e71de0fcf430
Author: Rob Bradford <rob linux intel com>
Date:   Wed May 11 18:11:45 2011 +0100

    facebook-item-view: Populate authoricon_large with a larger avatar picture
    
    Fixes: https://bugs.meego.com/show_bug.cgi?id=17419

 services/facebook/facebook-item-view.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/services/facebook/facebook-item-view.c b/services/facebook/facebook-item-view.c
index 1036caf..63d6ff8 100644
--- a/services/facebook/facebook-item-view.c
+++ b/services/facebook/facebook-item-view.c
@@ -263,6 +263,11 @@ _facebook_status_node_to_item (SwItemView *self,
                                    FB_PICTURE_SIZE_SQUARE);
       sw_item_request_image_fetch (item, FALSE, "authoricon", pic_url);
       g_free (pic_url);
+
+      pic_url = build_picture_url (priv->proxy, authorid,
+                                   FB_PICTURE_SIZE_LARGE);
+      sw_item_request_image_fetch (item, FALSE, "authoricon_large", pic_url);
+      g_free (pic_url);
     }
 
   /* thumbnail is not likely to exist on a status update, but just in case */



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