aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-02-13 19:45:54 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-02-13 19:45:54 +0800
commit5af9bceafe9d8a31afbc3b73234a9c07793a8802 (patch)
tree38b8e915b296251f7c0a5de97439f8b0e69a255b /mail
parentc31fe0f2891c800df3ddc407e7188e2a49859e65 (diff)
downloadgsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar.gz
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar.bz2
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar.lz
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar.xz
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.tar.zst
gsoc2013-evolution-5af9bceafe9d8a31afbc3b73234a9c07793a8802.zip
Creating the widget with "use_underline" property. Fixes #330504.
svn path=/trunk/; revision=31502
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-account-editor.c5
2 files changed, 9 insertions, 2 deletions
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 <rsushma@novell.com>
+
+ * 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 <a9016009@gmx.de>
* 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);