# HG changeset patch # User Konosuke Watanabe # Date 1214579337 -32400 # Node ID 08bd4abdfd3df91dae205c67f4f7486f274eff6a # Parent af4f31bce4612f0ad09400b3e1321a41e887b939 Now your own icon is shown on the conversation window. diff -r af4f31bce461 -r 08bd4abdfd3d pidgin-twitter.c --- a/pidgin-twitter.c Thu Jun 26 01:22:42 2008 +0900 +++ b/pidgin-twitter.c Sat Jun 28 00:08:57 2008 +0900 @@ -351,9 +351,18 @@ } if (!error) { + gchar *m = NULL; + const char *screen_name = purple_prefs_get_string(OPT_SCREEN_NAME); + if (screen_name) + m = g_strdup_printf("%s: %s", screen_name, tm->status); + else + m = ""; + purple_conv_im_write(conv->u.im, purple_account_get_username(tm->account), - tm->status, PURPLE_MESSAGE_SEND, tm->time); + m, PURPLE_MESSAGE_SEND, tm->time); + + g_free(m); } else { gchar *m; m = g_strdup_printf("%s
%s",