| 2713 if (status_box->imhtml_visible) |
2713 if (status_box->imhtml_visible) |
| 2714 { |
2714 { |
| 2715 gtk_widget_show_all(status_box->vbox); |
2715 gtk_widget_show_all(status_box->vbox); |
| 2716 status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); |
2716 status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); |
| 2717 gtk_widget_grab_focus(status_box->imhtml); |
2717 gtk_widget_grab_focus(status_box->imhtml); |
| 2718 gtk_imhtml_clear(GTK_IMHTML(status_box->imhtml)); |
|
| 2719 } |
2718 } |
| 2720 else |
2719 else |
| 2721 { |
2720 { |
| 2722 gtk_widget_hide_all(status_box->vbox); |
2721 gtk_widget_hide_all(status_box->vbox); |
| 2723 activate_currently_selected_status(status_box); /* This is where we actually set the status */ |
2722 activate_currently_selected_status(status_box); /* This is where we actually set the status */ |