aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSuresh Chandrasekharan <suresh.chandrasekharan@sun.com>2003-10-03 01:19:30 +0800
committerSuresh Chandrasekharan <kcsuresh@src.gnome.org>2003-10-03 01:19:30 +0800
commit868f97585609198578c4ab7bf6888809fadc9d7d (patch)
tree12d24b8b582090bf1b25d1607c89f59443ad0395 /mail
parenteff89404e4956f1b61c77d56341cf6423e7543dc (diff)
downloadgsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar.gz
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar.bz2
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar.lz
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar.xz
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.tar.zst
gsoc2013-evolution-868f97585609198578c4ab7bf6888809fadc9d7d.zip
Fix for 40917 "Backspace shouldn't highlight the whole remaining string in
2003-10-02 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * 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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog15
-rw-r--r--mail/mail-config-druid.c13
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 <suresh.chandrasekharan@sun.com>
+
+ * 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 <NotZed@Ximian.com>
* 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