diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-01 21:02:29 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-11-01 21:02:29 +0800 |
commit | 3555983a7e77efda4dde3ed587cd7a3cc436c906 (patch) | |
tree | 91a4b45de9453e1fd65b8dff02495ee84309d644 /mail | |
parent | 566b32ca72b7c0329eed7885b5a0e145332e8152 (diff) | |
download | gsoc2013-evolution-3555983a7e77efda4dde3ed587cd7a3cc436c906.tar.gz gsoc2013-evolution-3555983a7e77efda4dde3ed587cd7a3cc436c906.tar.zst gsoc2013-evolution-3555983a7e77efda4dde3ed587cd7a3cc436c906.zip |
Set checkspin label mnemonic widget in account editor
Diffstat (limited to 'mail')
-rw-r--r-- | 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 13468e87ac..d1e05795b0 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) |