aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-01 21:02:29 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:20 +0800
commit77a7dc2b9f7824cfa5ce8fd665f93035d4782799 (patch)
tree8e54b2f018b2d9b257c6a451901ab13995a7eaa7 /mail
parent2f7905bbf10c1d3f1954212d3d2287e27b9d9e98 (diff)
downloadgsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar.gz
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar.bz2
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar.lz
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar.xz
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.tar.zst
gsoc2013-evolution-77a7dc2b9f7824cfa5ce8fd665f93035d4782799.zip
Set checkspin label mnemonic widget in account editor
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c4
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)