changeset 67:000575bce35d

path should not be hard-coded. windows uses another delimiter.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 23 Jun 2008 11:37:44 +0900
parents 0ddcba9161fd
children 41dbb74bf029
files pidgin-twitter.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);