aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-composer-prefs.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2002-05-24 04:31:59 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-05-24 04:31:59 +0800
commit52d456541687ef0360a6d9c010363f7711ae8818 (patch)
tree3a46fdbc397475e439d56fa2cfa1bbb7b302da4e /mail/mail-composer-prefs.c
parent18b4f29daa6f95a318bd5f29aec15448fa2039f2 (diff)
downloadgsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar.gz
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar.bz2
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar.lz
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar.xz
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.tar.zst
gsoc2013-evolution-52d456541687ef0360a6d9c010363f7711ae8818.zip
(mail_composer_prefs_construct): add auto smiley check button
svn path=/trunk/; revision=16990
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r--mail/mail-composer-prefs.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index 29f0802b42..300772b65e 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -745,7 +745,8 @@ mail_composer_prefs_construct (MailComposerPrefs *prefs)
GtkWidget *toplevel, *widget, *menu;
GladeXML *gui;
int style;
- char *names[][2] = {{"live_spell_check", "chkEnableSpellChecking"},
+ char *names[][4] = {{"live_spell_check", "chkEnableSpellChecking"},
+ {"magic_smileys_check", "chkAutoSmileys"},
{"gtk_html_prop_keymap_option", "omenuShortcutsType"},
{NULL, NULL}};
@@ -771,6 +772,10 @@ mail_composer_prefs_construct (MailComposerPrefs *prefs)
gtk_signal_connect (GTK_OBJECT (prefs->send_html), "toggled",
toggle_button_toggled, prefs);
+ prefs->auto_smileys = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkAutoSmileys"));
+ gtk_signal_connect (GTK_OBJECT (prefs->auto_smileys), "toggled",
+ toggle_button_toggled, prefs);
+
prefs->prompt_empty_subject = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkPromptEmptySubject"));
gtk_toggle_button_set_active (prefs->prompt_empty_subject, mail_config_get_prompt_empty_subject ());
gtk_signal_connect (GTK_OBJECT (prefs->prompt_empty_subject), "toggled",