Mercurial > pidgin
diff src/gtkconv.c @ 4608:5fcb44d771d2
[gaim-migrate @ 4896]
just because an account signs off doesn't mean we can forget about it ;-)
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Mon, 24 Feb 2003 00:29:54 +0000 |
| parents | 4128761bacb8 |
| children | 69f028a6f357 |
line wrap: on
line diff
--- a/src/gtkconv.c Sun Feb 23 06:24:00 2003 +0000 +++ b/src/gtkconv.c Mon Feb 24 00:29:54 2003 +0000 @@ -2508,7 +2508,7 @@ /* Now, um, just kind of all over the place. Huh? */ /* Add button */ - if (find_buddy(gaim_conversation_get_gc(conv)->account, + if (find_buddy(gaim_conversation_get_account(conv), gaim_conversation_get_name(conv)) == NULL) { gtkim->add = gaim_gtk_change_text(_("Add"), gtkim->add, GTK_STOCK_ADD, type); @@ -3852,8 +3852,11 @@ gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), buf2, -1, 0); - with_font_tag = g_strdup_printf("<font sml=\"%s\">%s</font>", + if(gc) + with_font_tag = g_strdup_printf("<font sml=\"%s\">%s</font>", gc->prpl->name, new_message); + else + with_font_tag = g_strdup(new_message); log_str = gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), with_font_tag, length,
