diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-signature-editor.c | 10 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index fb29252fc1..75ddde2ef8 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2005-03-02 Harry Lu <harry.lu@sun.com> + + Fix for 71733. + + * mail-signature-editor.c: (mail_signature_editor): if is_new, + let name_entry get the focus. + 2005-02-28 JP Rosevear <jpr@novell.com> * em-utils.c (em_utils_configure_account): pass in accountDruid diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index ead7ec3469..0ffff0fcd5 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -431,7 +431,11 @@ mail_signature_editor (ESignature *sig, GtkWindow *parent, gboolean is_new) gtk_widget_show (GTK_WIDGET (editor->win)); gtk_widget_show (GTK_WIDGET (editor->control)); - CORBA_exception_init (&ev); - GNOME_GtkHTML_Editor_Engine_runCommand (editor->engine, "grab-focus", &ev); - CORBA_exception_free (&ev); + if (is_new) + gtk_widget_grab_focus (editor->name_entry); + else { + CORBA_exception_init (&ev); + GNOME_GtkHTML_Editor_Engine_runCommand (editor->engine, "grab-focus", &ev); + CORBA_exception_free (&ev); + } } |