| 403 serv_chat_send(b->id, buf); |
403 serv_chat_send(b->id, buf); |
| 404 |
404 |
| 405 gtk_widget_grab_focus(GTK_WIDGET(b->entry)); |
405 gtk_widget_grab_focus(GTK_WIDGET(b->entry)); |
| 406 |
406 |
| 407 serv_set_idle(0); |
407 serv_set_idle(0); |
| |
408 |
| |
409 if ((general_options & OPT_GEN_BACK_ON_IM) && awaymessage != NULL) { |
| |
410 do_im_back(); |
| |
411 } |
| 408 } |
412 } |
| 409 |
413 |
| 410 |
414 |
| 411 static gboolean chat_keypress_callback(GtkWidget *entry, GdkEventKey *event, struct buddy_chat *c) |
415 static gboolean chat_keypress_callback(GtkWidget *entry, GdkEventKey *event, struct buddy_chat *c) |
| 412 { |
416 { |