diff options
author | Not Zed <NotZed@Ximian.com> | 2005-01-14 09:54:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-01-14 09:54:53 +0800 |
commit | df3e269474ac004e733a532f9d46d30405a6fce5 (patch) | |
tree | 1f420ed0af6e8f91f8b402de377f36cb435aab4b /mail/em-account-editor.c | |
parent | 9cba0e5036cadf91c6638f47d3bfb84cf24297d9 (diff) | |
download | gsoc2013-evolution-df3e269474ac004e733a532f9d46d30405a6fce5.tar.gz gsoc2013-evolution-df3e269474ac004e733a532f9d46d30405a6fce5.tar.zst gsoc2013-evolution-df3e269474ac004e733a532f9d46d30405a6fce5.zip |
** See bug #71029.
2005-01-13 Not Zed <NotZed@Ximian.com>
** See bug #71029.
* em-account-editor.c (e
svn path=/trunk/; revision=28397
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 508a4ee5a7..1b66eef5d2 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1664,8 +1664,11 @@ emae_option_toggle(EMAccountEditorService *service, CamelURL *url, const char *t GtkWidget *w; /* FIXME: how do we get the default value ever? */ - w = gtk_check_button_new_with_mnemonic (text); - g_object_set_data ((GObject *)w, "active", camel_url_get_param (url, name) != NULL); + w = g_object_new(gtk_check_button_get_type(), + "label", text, + "use_underline", TRUE, + "active", camel_url_get_param(url, name) != NULL, + NULL); g_object_set_data((GObject *)w, "option-name", (void *)name); g_signal_connect(w, "toggled", G_CALLBACK(emae_option_toggle_changed), service); gtk_widget_show(w); |