aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2007-12-05 00:28:02 +0800
committerSuman Manjunath <msuman@src.gnome.org>2007-12-05 00:28:02 +0800
commit90ee82e5493c66db58eb4f8a312350f92c0b0b2a (patch)
tree4d9fec6b2cb697264752f918fd6720255d10afb8
parent412f24101f0ed99e6f0139f4b92c6549d04bf6ca (diff)
downloadgsoc2013-evolution-90ee82e5493c66db58eb4f8a312350f92c0b0b2a.tar.gz
gsoc2013-evolution-90ee82e5493c66db58eb4f8a312350f92c0b0b2a.tar.zst
gsoc2013-evolution-90ee82e5493c66db58eb4f8a312350f92c0b0b2a.zip
Patch from Alex Kloss <alexkloss@att.net>: Fix for bug #329578 (missing mnemonic in Receiving options tab)
svn path=/trunk/; revision=34648
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-account-editor.c11
2 files changed, 13 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 34cc51648a..2a9866b79f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-04 Alex Kloss <alexkloss@att.net>
+
+ ** Fix for bug #329578
+
+ * em-account-editor.c: (emae_receive_options_item):
+ Add mnemonic for "minutes" widget
+
2007-12-04 David Turner <cillian64@googlemail.com>
** Fix for bug #446029
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 4e89ad202f..b41fd7d356 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2036,7 +2036,7 @@ static GtkWidget *
emae_receive_options_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, struct _GtkWidget *old, void *data)
{
EMAccountEditor *emae = data;
- GtkWidget *w, *box;
+ GtkWidget *w, *box, *spin;
int row;
if (emae->priv->source.provider == NULL
@@ -2054,11 +2054,12 @@ emae_receive_options_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *par
emae_account_toggle_widget(emae, (GtkToggleButton *)w, E_ACCOUNT_SOURCE_AUTO_CHECK);
gtk_box_pack_start((GtkBox *)box, w, FALSE, FALSE, 0);
- w = gtk_spin_button_new_with_range(1.0, 1440.0, 1.0);
- emae_account_spinint_widget(emae, (GtkSpinButton *)w, E_ACCOUNT_SOURCE_AUTO_CHECK_TIME);
- gtk_box_pack_start((GtkBox *)box, w, FALSE, TRUE, 0);
+ spin = gtk_spin_button_new_with_range(1.0, 1440.0, 1.0);
+ emae_account_spinint_widget(emae, (GtkSpinButton *)spin, E_ACCOUNT_SOURCE_AUTO_CHECK_TIME);
+ gtk_box_pack_start((GtkBox *)box, spin, FALSE, TRUE, 0);
- w = gtk_label_new(_("minutes"));
+ w = gtk_label_new_with_mnemonic (_("minu_tes"));
+ gtk_label_set_mnemonic_widget (GTK_LABEL (w), spin);
gtk_box_pack_start((GtkBox *)box, w, FALSE, FALSE, 0);
gtk_widget_show_all(box);