From 5af9bceafe9d8a31afbc3b73234a9c07793a8802 Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 13 Feb 2006 11:45:54 +0000 Subject: Creating the widget with "use_underline" property. Fixes #330504. svn path=/trunk/; revision=31502 --- mail/ChangeLog | 6 ++++++ mail/em-account-editor.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index a14f501033..a2aca69cda 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2006-02-13 Sushma Rai + + * mail/em-account-editor.c (emae_option_checkspin) + (emae_receive_options_extra_item): Creating the widget with + "use_underline" property. Fixes #330504. + 2006-02-11 Andre Klapper * mail-config.glade: changed string and added translator comments. diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index a11621c7c8..1387037046 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1939,7 +1939,8 @@ emae_option_checkspin(EMAccountEditorService *service, CamelURL *url, const char enable = (on == 'y'); hbox = gtk_hbox_new(FALSE, 0); - check = g_object_new(gtk_check_button_get_type(), "label", pre, "active", enable, NULL); + 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, 1), 1, 0); if (post) label = gtk_label_new(post); @@ -2070,7 +2071,7 @@ section: emae_account_toggle_widget(emae, (GtkToggleButton *)w, E_ACCOUNT_SOURCE_KEEP_ON_SERVER); break; case CAMEL_PROVIDER_CONF_ENTRY: - l = g_object_new(gtk_label_get_type(), "label", entries[i].text, "xalign", 0.0, NULL); + l = g_object_new(gtk_label_get_type(), "label", entries[i].text, "xalign", 0.0, "use_underline", TRUE, NULL); gtk_widget_show(l); w = emae_option_entry(service, url, entries[i].name, entries[i].value); gtk_table_attach((GtkTable *)parent, l, 0, 1, row, row+1, GTK_FILL, 0, 0, 0); -- cgit v1.2.3