Mercurial > pidgin.yaz
diff console/gntnotify.c @ 14105:eaf7f35635bc
[gaim-migrate @ 16739]
Allow autojoining chat rooms.
Sort the buddies in the buddylist, and the plugins in the plugin list.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 13 Aug 2006 23:30:19 +0000 |
parents | 4d5cc9e4cb12 |
children | c65ed4f6eea8 |
line wrap: on
line diff
--- a/console/gntnotify.c Sun Aug 13 08:41:07 2006 +0000 +++ b/console/gntnotify.c Sun Aug 13 23:30:19 2006 +0000 @@ -163,14 +163,18 @@ } else { + char *to; + setup_email_dialog(); + to = g_strdup_printf("%s (%s)", tos ? *tos : gaim_account_get_username(account), + gaim_account_get_protocol_name(account)); gnt_tree_add_row_after(GNT_TREE(emaildialog.tree), GINT_TO_POINTER(time(NULL)), - gnt_tree_create_row(GNT_TREE(emaildialog.tree), - tos ? *tos : gaim_account_get_username(account), /* XXX: Perhaps add the prpl-name */ + gnt_tree_create_row(GNT_TREE(emaildialog.tree), to, froms ? *froms : "[Unknown sender]", *subjects), NULL, NULL); + g_free(to); gnt_widget_show(emaildialog.window); return NULL; }