Mercurial > pidgin.yaz
diff src/conversation.c @ 4349:0c68d402f59f
[gaim-migrate @ 4614]
XML Blist
Gaim stores all the buddy lists in one big happy file now. You can order
the buddies however you want, and they'll stay ordered that way.
We can also store some per-buddy information now, which will be cool.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 19 Jan 2003 22:16:52 +0000 |
parents | f38956587637 |
children | 5fb47ec9bfe4 |
line wrap: on
line diff
--- a/src/conversation.c Sun Jan 19 22:03:57 2003 +0000 +++ b/src/conversation.c Sun Jan 19 22:16:52 2003 +0000 @@ -504,7 +504,7 @@ void add_callback(GtkWidget *widget, struct conversation *c) { - struct buddy *b = find_buddy(c->gc, c->name); + struct buddy *b = find_buddy(c->gc->user, c->name); if (b) { show_confirm_del(c->gc, c->name); } else if (c->gc) @@ -1632,7 +1632,7 @@ if (!c->is_chat || !(c->gc->prpl->options & OPT_PROTO_UNIQUE_CHATNAME)) { if (!who) { if (flags & WFLAG_SEND) { - b = find_buddy(c->gc, c->gc->username); + b = find_buddy(c->gc->user, c->gc->username); if (get_buddy_alias_only(b)) who = get_buddy_alias(b); else if (c->gc->user->alias[0]) @@ -1642,14 +1642,14 @@ else who = c->gc->username; } else { - b = find_buddy(c->gc, c->name); + b = find_buddy(c->gc->user, c->name); if (b) who = get_buddy_alias(b); else who = c->name; } } else { - b = find_buddy(c->gc, who); + b = find_buddy(c->gc->user, who); if (b) who = get_buddy_alias(b); } @@ -2179,7 +2179,7 @@ GtkWidget *parent = c->add->parent; gboolean rebuild = FALSE; - if (find_buddy(c->gc, c->name)) { + if (find_buddy(c->gc->user, c->name)) { if (!gtk_object_get_user_data(GTK_OBJECT(c->add))) { gtk_widget_destroy(c->add); c->add = gaim_pixbuf_button_from_stock(dispstyle == 0 ? NULL : _("Remove"), @@ -2780,7 +2780,7 @@ /* And put the other buttons on the left */ - if (c->gc && find_buddy(c->gc, c->name) != NULL) { + if (c->gc && find_buddy(c->gc->user, c->name) != NULL) { add = gaim_pixbuf_button_from_stock( (dispstyle == 0 ? NULL : _("Remove")), (dispstyle == 1 ? NULL : "gtk-remove"), @@ -3110,7 +3110,7 @@ int index; GtkNotebook *nb; - if ((im_options & OPT_IM_ALIAS_TAB) && c->gc && ((b = find_buddy(c->gc, c->name)) != NULL)) + if ((im_options & OPT_IM_ALIAS_TAB) && c->gc && ((b = find_buddy(c->gc->user, c->name)) != NULL)) text = get_buddy_alias(b); else text = c->name;