From 868f97585609198578c4ab7bf6888809fadc9d7d Mon Sep 17 00:00:00 2001 From: Suresh Chandrasekharan Date: Thu, 2 Oct 2003 17:19:30 +0000 Subject: Fix for 40917 "Backspace shouldn't highlight the whole remaining string in 2003-10-02 Suresh Chandrasekharan * mail-config-druid.c: Fix for 40917 "Backspace shouldn't highlight the whole remaining string in Setup Assistant". Removed repeated focussing per keystroke for the following functions (identity_changed) (source_changed) (transport_changed) (management_changed) (identity_prepare): Removed the initial highlighting for Full Name, also the unneeded intial grab_focus. svn path=/trunk/; revision=22790 --- mail/ChangeLog | 15 +++++++++++++++ mail/mail-config-druid.c | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 3cc81eb481..d835fde4a7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,18 @@ +2003-10-02 Suresh Chandrasekharan + + * mail-config-druid.c: Fix for 40917 "Backspace shouldn't highlight + the whole remaining string in Setup Assistant". + + Removed repeated focussing per keystroke for the following functions + + (identity_changed) + (source_changed) + (transport_changed) + (management_changed) + + (identity_prepare): Removed the initial highlighting for Full Name, + also the unneeded intial grab_focus. + 2003-10-02 Not Zed * em-format-html.c (efh_format_timeout): zero out last_part if diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 5b941f55e2..dc8f0b5220 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -125,9 +125,6 @@ identity_changed (GtkWidget *widget, gpointer data) next_sensitive = mail_account_gui_identity_complete (mcw->gui, &incomplete); config_wizard_set_buttons_sensitive (mcw, TRUE, next_sensitive); - - if (!next_sensitive) - gtk_widget_grab_focus (incomplete); } static void @@ -141,9 +138,7 @@ identity_prepare (MailConfigWizard *mcw) if (!name) { name = g_get_real_name (); gtk_entry_set_text (mcw->gui->full_name, name ? name : ""); - gtk_editable_select_region (GTK_EDITABLE (mcw->gui->full_name), 0, -1); } - gtk_widget_grab_focus (GTK_WIDGET (mcw->gui->full_name)); identity_changed (NULL, mcw); } @@ -193,9 +188,6 @@ source_changed (GtkWidget *widget, gpointer data) next_sensitive = mail_account_gui_source_complete (mcw->gui, &incomplete); config_wizard_set_buttons_sensitive (mcw, TRUE, next_sensitive); - - if (!next_sensitive) - gtk_widget_grab_focus (incomplete); } static void @@ -271,9 +263,6 @@ transport_changed (GtkWidget *widget, gpointer data) next_sensitive = mail_account_gui_transport_complete (mcw->gui, &incomplete); config_wizard_set_buttons_sensitive (mcw, TRUE, next_sensitive); - - if (!next_sensitive) - gtk_widget_grab_focus (incomplete); } static void @@ -354,8 +343,6 @@ management_changed (GtkWidget *widget, gpointer data) return; management_check (mcw); - - gtk_widget_grab_focus (GTK_WIDGET (mcw->gui->account_name)); } static void -- cgit v1.2.3