diff options
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 2a79f4508d..b5c04dbaf2 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-01-18 Raghavendran R<raghavguru7@gmail.com> * e-msg-composer.[c,h]: (e_msg_composer_modify_header): , 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; } |