Mercurial > pidgin.yaz
diff console/gntnotify.c @ 13971:df8183b7fa2c
[gaim-migrate @ 16529]
Make multi-column trees look nice.
Show the list of users in a chat-room after you join.
Add some commands (eg. /me, /help etc., all Xeroxed from gtkconv.c)
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 20 Jul 2006 17:38:09 +0000 |
parents | 0a0d2a1fd2bc |
children | a71678d2da16 |
line wrap: on
line diff
--- a/console/gntnotify.c Thu Jul 20 13:04:35 2006 +0000 +++ b/console/gntnotify.c Thu Jul 20 17:38:09 2006 +0000 @@ -104,6 +104,8 @@ gnt_label_new_with_format(_("You have mail!"), GNT_TEXT_FLAG_BOLD)); emaildialog.tree = tree = gnt_tree_new_with_columns(3); + gnt_tree_set_column_titles(GNT_TREE(tree), _("Account"), _("From"), _("Subject")); + gnt_tree_set_show_title(GNT_TREE(tree), TRUE); gnt_tree_set_col_width(GNT_TREE(tree), 0, 15); gnt_tree_set_col_width(GNT_TREE(tree), 1, 25); gnt_tree_set_col_width(GNT_TREE(tree), 2, 25); @@ -141,7 +143,7 @@ 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), + tos ? *tos : gaim_account_get_username(account), /* XXX: Perhaps add the prpl-name */ froms ? *froms : "[Unknown sender]", *subjects), NULL, NULL);