# HG changeset patch # User Yoshiki Yazawa # Date 1223462893 -32400 # Node ID bd7478109727d6e3e97ac8cdcccc6768f590ab79 # Parent 1a4d37f15e9c6a42439bbbe07e0e5fa4e2a874d9 in jisko, fall back to default icon when custom icon is not available. diff -r 1a4d37f15e9c -r bd7478109727 pidgin-twitter.c --- a/pidgin-twitter.c Tue Oct 07 16:57:26 2008 +0900 +++ b/pidgin-twitter.c Wed Oct 08 19:48:13 2008 +0900 @@ -2013,6 +2013,10 @@ twitter_debug("fall back to twitter default icon\n"); url = g_strdup(TWITTER_DEFAULT_ICON_URL); } + else if(service == jisko_service) { + twitter_debug("fall back to jisko default icon\n"); + url = g_strdup(JISKO_DEFAULT_ICON_URL); + } else { twitter_debug("no image url found\n"); if(data) { diff -r 1a4d37f15e9c -r bd7478109727 pidgin-twitter.h --- a/pidgin-twitter.h Tue Oct 07 16:57:26 2008 +0900 +++ b/pidgin-twitter.h Wed Oct 08 19:48:13 2008 +0900 @@ -182,13 +182,16 @@ #define TWITTER_DEFAULT_INTERVAL (60) #define TWITTER_DEFAULT_ICON_URL "http://static.twitter.com/images/default_profile_bigger.png" -/* size of substitution buffer */ -#define SUBST_BUF_SIZE (32 * 1024) - /* wassr specific macros */ #define WASSR_POST_LEN (255) #define IDENTICA_POST_LEN (140) +/* jisko specific macro */ +#define JISKO_DEFAULT_ICON_URL "http://jisko.net/static/img/avatar/default_note.png" + +/* size of substitution buffer */ +#define SUBST_BUF_SIZE (32 * 1024) + /* misc macros */ #define DEFAULT_ICON_SIZE (48) #define DEFAULT_ICON_MAX_COUNT (50)