Mercurial > pidgin
diff src/gtkblist.c @ 11732:03c813a42c76
[gaim-migrate @ 14023]
here's what iw as working on, with the bits that activiate it commented out.
its not finished at all, but i'm tired of people breaking it ;)
hopefully this will motivate me to finish it tonight/tomorrow.
committer: Tailor Script <tailor@pidgin.im>
| author | Tim Ringenbach <marv@pidgin.im> |
|---|---|
| date | Sun, 23 Oct 2005 01:42:01 +0000 |
| parents | 8a981a601242 |
| children | 7e0ad3b6882a |
line wrap: on
line diff
--- a/src/gtkblist.c Sun Oct 23 01:22:25 2005 +0000 +++ b/src/gtkblist.c Sun Oct 23 01:42:01 2005 +0000 @@ -3281,10 +3281,31 @@ gtk_container_add(GTK_CONTAINER(sw), gtkblist->treeview); gaim_gtk_blist_update_columns(); - gtkblist->statusbox = gtk_gaim_status_box_new(); - - gtk_widget_show(gtkblist->statusbox); - gtk_box_pack_start(GTK_BOX(gtkblist->vbox), gtkblist->statusbox, FALSE, TRUE, 0); + /* TODO: functionize this */ + { + GList *accounts, *l; + + /* Set up some per account status boxes */ + gtkblist->statusboxbox = gtk_vbox_new(FALSE, 0); + gtkblist->statusboxes = NULL; +#if 0 + for (l = accounts = gaim_accounts_get_all_active(); l; l = l->next) { + GtkWidget *statusbox = gtk_gaim_status_box_new_with_account(l->data); + gtkblist->statusboxes = g_list_append(gtkblist->statusboxes, statusbox); + gtk_box_pack_start(GTK_BOX(gtkblist->statusboxbox), statusbox, FALSE, TRUE, 0); + gtk_widget_show(statusbox); + } + g_list_free(accounts); +#endif + gtk_widget_show(gtkblist->statusboxbox); + gtk_box_pack_start(GTK_BOX(gtkblist->vbox), gtkblist->statusboxbox, FALSE, TRUE, 0); + + gtkblist->statusbox = gtk_gaim_status_box_new(); + + gtk_widget_show(gtkblist->statusbox); + gtk_box_pack_start(GTK_BOX(gtkblist->vbox), gtkblist->statusbox, FALSE, TRUE, 0); + + } /* set the Show Offline Buddies option. must be done * after the treeview or faceprint gets mad. -Robot101
