# HG changeset patch # User Yoshiki Yazawa # Date 1214188664 -32400 # Node ID 000575bce35d90f419b1645118f66c1f5ea4c4b2 # Parent 0ddcba9161fd6d6a7be770232025f24c3eafdba5 path should not be hard-coded. windows uses another delimiter. diff -r 0ddcba9161fd -r 000575bce35d pidgin-twitter.c --- a/pidgin-twitter.c Mon Jun 23 02:10:17 2008 +0900 +++ b/pidgin-twitter.c Mon Jun 23 11:37:44 2008 +0900 @@ -987,10 +987,11 @@ /* If the user's icon has not been downloaded, mark the message */ if(!icon_id) { - requested_icon_marks = g_list_append(requested_icon_marks, - gtk_text_buffer_create_mark( - text_buffer, NULL, - &inserting_point, FALSE)); + requested_icon_marks = + g_list_append(requested_icon_marks, + gtk_text_buffer_create_mark( + text_buffer, NULL, + &inserting_point, FALSE)); twitter_debug("%s's icon has not been downloaded.", user_name); g_free(user_name); return; @@ -1278,7 +1279,7 @@ char *dirname = NULL; g_type_init(); - dirname = g_build_filename(purple_user_dir(), "pidgin-twitter/icons", NULL); + dirname = g_build_filename(purple_user_dir(), "pidgin-twitter", "icons", NULL); if(dirname) purple_prefs_add_string(OPT_ICON_DIR, dirname); g_free(dirname);