aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-20 06:10:35 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-20 06:10:35 +0800
commit5cf9db22084a646cec7d655926db67b8650f65a4 (patch)
tree7fb27c8b1f44df065e4f8b371f949e9ee5b3c414 /composer/e-msg-composer.c
parent5cc97da325c7d802e0f6c0652603a91dfc962991 (diff)
downloadgsoc2013-evolution-5cf9db22084a646cec7d655926db67b8650f65a4.tar.gz
gsoc2013-evolution-5cf9db22084a646cec7d655926db67b8650f65a4.tar.zst
gsoc2013-evolution-5cf9db22084a646cec7d655926db67b8650f65a4.zip
[ fixes #40694 ] this can't hurt - set the frame to autoactivate so if by
2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * e-msg-composer-hdrs.c (create_addressbook_entry): this can't hurt - set the frame to autoactivate so if by some chance the widget is focused the control will end up being activated. * e-msg-composer.c (map_default_cb): activate the To: control instead of focusing the widget. svn path=/trunk/; revision=20896
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 ();