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/ChangeLog | 7 +++++++ mail/em-account-editor.c | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'mail') 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 + + ** Fix for bug #329578 + + * em-account-editor.c: (emae_receive_options_item): + Add mnemonic for "minutes" widget + 2007-12-04 David Turner ** 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); -- cgit v1.2.3