Mercurial > pidgin
changeset 977:e5eac6b236f1
[gaim-migrate @ 987]
small touch-ups. it was getting damn annoying that things would disappear when they weren't supposed to. hopefully this fixes that for good.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 11 Oct 2000 18:02:20 +0000 |
parents | 2586b2a3725e |
children | 563c409e26a1 |
files | src/buddy.c src/multi.c |
diffstat | 2 files changed, 4 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Wed Oct 11 04:30:26 2000 +0000 +++ b/src/buddy.c Wed Oct 11 18:02:20 2000 +0000 @@ -1315,7 +1315,6 @@ { struct buddy *b; struct group *g; - GList *mem; b = find_buddy(name); @@ -1328,17 +1327,6 @@ int count = 0; gtk_widget_hide(b->item); g = find_group_by_buddy(name); - mem = g->members; - while (mem) { - b = (struct buddy *)mem->data; - if (b->present || GTK_WIDGET_VISIBLE(b->item)) { - count++; - break; - } - mem = mem->next; - } - if (!count && (display_options & OPT_DISP_NO_MT_GRP)) - gtk_widget_hide(g->item); if (GTK_TREE_ITEM(g->item)->expanded) { gtk_tree_item_collapse(GTK_TREE_ITEM(g->item)); gtk_tree_item_expand(GTK_TREE_ITEM(g->item));
--- a/src/multi.c Wed Oct 11 04:30:26 2000 +0000 +++ b/src/multi.c Wed Oct 11 18:02:20 2000 +0000 @@ -164,7 +164,7 @@ while (u) { a = (struct aim_user *)u->data; titles[0] = a->username; - titles[1] = find_gaim_conn_by_name(a->username) ? "True" : "False"; + titles[1] = find_gaim_conn_by_name(a->username) ? "Yes" : "No"; titles[2] = (a->options & OPT_USR_AUTO) ? "True" : "False"; titles[3] = proto_name(a->protocol); i = gtk_clist_append(GTK_CLIST(list), titles); @@ -245,7 +245,7 @@ u->protocol = tmpusr.protocol; gtk_widget_destroy(newmod); titles[0] = u->username; - titles[1] = find_gaim_conn_by_name(u->username) ? "True" : "False"; + titles[1] = find_gaim_conn_by_name(u->username) ? "Yes" : "No"; titles[2] = (u->options & OPT_USR_AUTO) ? "True" : "False"; titles[3] = proto_name(u->protocol); i = gtk_clist_append(GTK_CLIST(list), titles); @@ -641,7 +641,7 @@ if (!acctedit) return; u = find_user(gc->username); i = gtk_clist_find_row_from_data(GTK_CLIST(list), u); - gtk_clist_set_text(GTK_CLIST(list), i, 1, "True"); + gtk_clist_set_text(GTK_CLIST(list), i, 1, "Yes"); gtk_clist_set_text(GTK_CLIST(list), i, 3, proto_name(gc->protocol)); redo_convo_menus(); } @@ -653,7 +653,7 @@ if (!acctedit) return; u = find_user(gc->username); i = gtk_clist_find_row_from_data(GTK_CLIST(list), u); - gtk_clist_set_text(GTK_CLIST(list), i, 1, "False"); + gtk_clist_set_text(GTK_CLIST(list), i, 1, "No"); } void auto_login()