Mercurial > pidgin-twitter
diff pidgin-twitter.h @ 310:aa1f0dd1a723
use .dat extension for icons uniformly.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 02 Jul 2009 15:54:44 +0900 |
parents | 227e59f017f2 |
children | 09e1995fbda1 |
line wrap: on
line diff
--- a/pidgin-twitter.h Thu Jul 02 05:54:58 2009 +0900 +++ b/pidgin-twitter.h Thu Jul 02 15:54:44 2009 +0900 @@ -68,7 +68,6 @@ gboolean requested; /* TRUE if download icon has been requested */ GList *request_list; /* marker list */ PurpleUtilFetchUrlData *fetch_data; /* icon fetch data */ - const gchar *img_type; /* image type */ gchar *icon_url; /* url for the user's icon */ gint use_count; /* usage count */ time_t mtime; /* mtime of file */ @@ -189,7 +188,7 @@ #define P_GROUP_IDENTICA "!([-A-Za-z0-9_]+)" #define P_IMAGE_TWITTER "<img .*=\"profile-(?:image|img)\".*src=\"(https?://.+?)\".*/>" #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>" -#define P_IMAGE_IDENTICA "<img src=\"(https?://.+.identi.ca/.+)\" class=\"avatar profile photo\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-9_]+\"/>" +#define P_IMAGE_IDENTICA "<img src=\"(https?://.+.identi.ca/.+)\" class=\"photo avatar\"" #define P_IMAGE_JISKO "<img src=\"(https?://jisko.net/users/.+/img/avatar/thumb_side\\..+)\" alt=\"Avatar\" />" #define P_IMAGE_FFEED "<img src=\"(https?://i.friendfeed.com/.+)\" alt=\"" #define P_SIZE_128_WASSR "\\.128\\." @@ -217,7 +216,7 @@ /* identica specific macros */ #define IDENTICA_POST_LEN (140) -#define IDENTICA_DEFAULT_ICON_URL "http://theme.identi.ca/identica/default-avatar-profile.png" +#define IDENTICA_DEFAULT_ICON_URL "http://theme.status.net/0.8.0dev/identica/default-avatar-profile.png" /* jisko specific macro */ #define JISKO_DEFAULT_ICON_URL "http://jisko.net/static/img/avatar/default_note.png"