From 90ee82e5493c66db58eb4f8a312350f92c0b0b2a Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Tue, 4 Dec 2007 16:28:02 +0000 Subject: Patch from Alex Kloss : Fix for bug #329578 (missing mnemonic in Receiving options tab) svn path=/trunk/; revision=34648 --- mail/em-account-editor.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mail/em-account-editor.c') 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); -- cgit