aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorRaghavendran <raghavguru7@gmail.com>2007-01-26 00:04:19 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-01-26 00:04:19 +0800
commitfcfe102b0c0340918e013b7f3cb39fb5560a4fef (patch)
tree0e2cb226bed259e91a8ae2aaaf43d9d90acfaa4b /composer/e-msg-composer.c
parent02c8f24ddb334f7e67970fb277b6781f35f00f44 (diff)
downloadgsoc2013-evolution-fcfe102b0c0340918e013b7f3cb39fb5560a4fef.tar.gz
gsoc2013-evolution-fcfe102b0c0340918e013b7f3cb39fb5560a4fef.tar.zst
gsoc2013-evolution-fcfe102b0c0340918e013b7f3cb39fb5560a4fef.zip
**Fixes bug #343943 Added code for tab sequence to go from BCC into Body.
2007-01-25 Raghavendran <raghavguru7@gmail.com> **Fixes bug #343943 * e-msg-composer.c:Added code for tab sequence to go from BCC into Body. svn path=/trunk/; revision=33149
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2a83924d95..0f37ffdaf2 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3511,12 +3511,19 @@ msg_composer_destroy_notify (void *data)
static int
composer_key_pressed (EMsgComposer *composer, GdkEventKey *event, void *user_data)
{
+ GtkWidget *widget;
+ EMsgComposerPrivate *p = composer->priv;
+ widget = e_msg_composer_hdrs_get_subject_entry (E_MSG_COMPOSER_HDRS (p->hdrs));
if (event->keyval == GDK_Escape) {
do_exit (composer);
g_signal_stop_emission_by_name (composer, "key-press-event");
return TRUE;
+ } else if ((event->keyval == GDK_Tab) && (gtk_widget_is_focus(widget))) {
+ CORBA_Environment ev;
+ CORBA_exception_init (&ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (p->eeditor_engine, "grab-focus", &ev);
+ CORBA_exception_free (&ev);
}
-
return FALSE;
}