comparison src/conversation.c @ 2631:a2cf3cac7e66

[gaim-migrate @ 2644] bah. this is better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 27 Oct 2001 23:46:12 +0000
parents d8d2df2bdf01
children b0c5770156e1
comparison
equal deleted inserted replaced
2630:5004f7eb3d4d 2631:a2cf3cac7e66
721 buf, strlen(buf), &pos); 721 buf, strlen(buf), &pos);
722 } 722 }
723 gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event"); 723 gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event");
724 } 724 }
725 } 725 }
726 if (event->keyval == 'l') 726 if (event->keyval == 'l') {
727 gtk_imhtml_clear(GTK_IMHTML(c->text)); 727 gtk_imhtml_clear(GTK_IMHTML(c->text));
728 g_string_free(c->history, TRUE);
729 c->history = g_string_new("");
730 }
728 if ((!c->is_chat && (im_options & OPT_IM_ONE_WINDOW)) || 731 if ((!c->is_chat && (im_options & OPT_IM_ONE_WINDOW)) ||
729 (c->is_chat && (chat_options & OPT_CHAT_ONE_WINDOW))) { 732 (c->is_chat && (chat_options & OPT_CHAT_ONE_WINDOW))) {
730 GtkWidget *notebook = (c->is_chat ? chat_notebook : convo_notebook); 733 GtkWidget *notebook = (c->is_chat ? chat_notebook : convo_notebook);
731 if (event->keyval == '[') { 734 if (event->keyval == '[') {
732 gtk_notebook_prev_page(GTK_NOTEBOOK(notebook)); 735 gtk_notebook_prev_page(GTK_NOTEBOOK(notebook));