aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 71ea78e419..4e228bdbc2 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2774,7 +2774,9 @@ map_default_cb (EMsgComposer *composer, gpointer user_data)
if (!text || text[0] == '\0') {
printf ("grabbing focus in the To entry...\n");
- gtk_widget_grab_focus (widget);
+
+ bonobo_control_frame_control_activate (cf);
+
g_free (text);
return;
}
@@ -2997,8 +2999,7 @@ create_composer (int visible_mask)
setup_cut_copy_paste (composer);
- /*g_signal_connect (composer, "map", (GCallback) map_default_cb, NULL);*/
- map_default_cb (composer, NULL);
+ g_signal_connect (composer, "map", (GCallback) map_default_cb, NULL);
if (am == NULL)
am = autosave_manager_new ();