From: Eric W. <war...@us...> - 2001-12-08 10:03:41
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv23902 Modified Files: conversation.c Log Message: not that any of this matters. Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.314 retrieving revision 1.315 diff -u -d -r1.314 -r1.315 --- conversation.c 2001/12/08 09:48:51 1.314 +++ conversation.c 2001/12/08 10:03:38 1.315 @@ -1485,24 +1485,6 @@ } } - /* XXX CUI: this is really bad and should be moved somewhere else later. */ - if (!c->is_chat && c->gc) { - int index = g_slist_index(connections, c->gc); - int sconv = strlen(c->name); - int sname = strlen(who); - int swhat = length == -1 ? strlen(what) : length; - UI_build_broadcast(CUI_TYPE_MESSAGE, CUI_MESSAGE_RECV, - sizeof(index), &index, - sizeof(sconv), &sconv, - sconv, c->name, - sizeof(sname), &sname, - sname, who, - sizeof(flags), &flags, - sizeof(swhat), &swhat, - swhat, what, - sizeof(mtime), &mtime, -1); - } - strftime(mdate, sizeof(mdate), "%H:%M:%S", localtime(&mtime)); gtk_font_options = gtk_font_options ^ GTK_IMHTML_NO_COMMENTS; @@ -1622,6 +1604,7 @@ gtk_imhtml_append_text(GTK_IMHTML(c->text), "<BR>", -1, 0); + /* XXX this needs to be updated for the new length argument */ if (logging_options & OPT_LOG_STRIP_HTML) { char *t1, *t2; t1 = strip_html(buf); @@ -1644,6 +1627,7 @@ g_free(t2); } + /* XXX this needs to be updated for the new length argument */ if ((logging_options & OPT_LOG_ALL) || find_log_info(c->name)) { char *t1, *t2; char *nm = g_malloc(256); @@ -1674,15 +1658,6 @@ g_free(nm); } } - -/* if (!GTK_WIDGET_MAPPED(c->window)) { - - if (dark_icon_pm == NULL) - dark_icon_pm = gdk_pixmap_create_from_xpm_d(c->window->window, &dark_icon_bm, - NULL, (gchar **)aimicon2_xpm); - gdk_window_set_icon(c->window->window, NULL, dark_icon_pm, dark_icon_bm); - } -*/ if ((c->is_chat && (chat_options & OPT_CHAT_POPUP)) || (!c->is_chat && (im_options & OPT_IM_POPUP))) |