Mercurial > pidgin.yaz
diff src/away.c @ 8413:f5b0e1a4b0c7
[gaim-migrate @ 9143]
Aliases are now shown alongside the screen name in the message queue
window. Patch by Kevin Stange.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 09 Mar 2004 02:50:52 +0000 |
parents | 63c7a16a2c09 |
children | 92cbf9713795 |
line wrap: on
line diff
--- a/src/away.c Mon Mar 08 20:13:17 2004 +0000 +++ b/src/away.c Tue Mar 09 02:50:52 2004 +0000 @@ -244,7 +244,7 @@ GTK_SHADOW_IN); gtk_box_pack_start(GTK_BOX(vbox), awayqueuesw, TRUE, TRUE, 0); - awayqueuestore = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); + awayqueuestore = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); awayqueue = gtk_tree_view_new_with_model(GTK_TREE_MODEL(awayqueuestore)); renderer = gtk_cell_renderer_text_new(); @@ -257,6 +257,10 @@ "text", 1, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(awayqueue), column); + column = gtk_tree_view_column_new_with_attributes(NULL, renderer, + "text", 2, + NULL); + gtk_tree_view_append_column(GTK_TREE_VIEW(awayqueue), column); gtk_container_add(GTK_CONTAINER(awayqueuesw), awayqueue);