| 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)); |
2718 if (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/status/keep_status_message")) |
| |
2719 gtk_imhtml_clear(GTK_IMHTML(status_box->imhtml)); |
| 2719 } |
2720 } |
| 2720 else |
2721 else |
| 2721 { |
2722 { |
| 2722 gtk_widget_hide_all(status_box->vbox); |
2723 gtk_widget_hide_all(status_box->vbox); |
| 2723 activate_currently_selected_status(status_box); /* This is where we actually set the status */ |
2724 activate_currently_selected_status(status_box); /* This is where we actually set the status */ |