[evolution] Set checkspin label mnemonic widget in account editor



commit 3555983a7e77efda4dde3ed587cd7a3cc436c906
Author: Milan Crha <mcrha redhat com>
Date:   Mon Nov 1 14:02:29 2010 +0100

    Set checkspin label mnemonic widget in account editor

 mail/em-account-editor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 13468e8..d1e0579 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2410,8 +2410,10 @@ emae_option_checkspin (EMAccountEditorService *service, CamelURL *url, const gch
 	check = g_object_new (gtk_check_button_get_type (), "label", pre, "use_underline", TRUE, "active", enable, NULL);
 
 	spin = gtk_spin_button_new ((GtkAdjustment *)gtk_adjustment_new (def, min, max, 1, 1, 0), 1, 0);
-	if (post)
+	if (post) {
 		label = gtk_label_new_with_mnemonic (post);
+		gtk_label_set_mnemonic_widget (GTK_LABEL (label), check);
+	}
 	gtk_box_pack_start ((GtkBox *)hbox, check, FALSE, TRUE, 0);
 	gtk_box_pack_start ((GtkBox *)hbox, spin, FALSE, TRUE, 0);
 	if (label)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]