aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2007-12-05 13:40:12 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-12-05 13:40:12 +0800
commit956cd913f1542ec212f2cc14a28da5b4f7d2e525 (patch)
tree21eff2768f48b2299738d115ce1cafdabaa38f5d /mail/em-mailer-prefs.c
parentc2d2c2fbbd58465ce877a7537b5c14802ab2f22c (diff)
downloadgsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar.gz
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar.bz2
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar.lz
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar.xz
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.tar.zst
gsoc2013-evolution-956cd913f1542ec212f2cc14a28da5b4f7d2e525.zip
** Added a preference to disable Magic Spacebar.
2007-12-05 Srinivasa Ragavan <sragavan@novell.com> ** Added a preference to disable Magic Spacebar. * em-folder-browser.c: (html_scroll), (emfb_list_key_press): Check the cfg before invoking Magic Spacebar * em-mailer-prefs.c: (em_mailer_prefs_construct): Preference window handling * em-mailer-prefs.h: * evolution-mail.schemas.in: * mail-config.c: (gconf_magic_spacebar_changed), (mail_config_init), (mail_config_get_enable_magic_spacebar): Add it part of MC. * mail-config.glade: * mail-config.h: svn path=/trunk/; revision=34650
Diffstat (limited to 'mail/em-mailer-prefs.c')
-rw-r--r--mail/em-mailer-prefs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c
index 9746e620bb..2a4e81117d 100644
--- a/mail/em-mailer-prefs.c
+++ b/mail/em-mailer-prefs.c
@@ -927,6 +927,11 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
"/apps/evolution/mail/display/force_message_limit",
G_CALLBACK (toggle_button_toggled));
+ prefs->magic_spacebar = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "magic_spacebar_checkbox"));
+ toggle_button_init (prefs, prefs->magic_spacebar, FALSE,
+ "/apps/evolution/mail/display/magic_spacebar",
+ G_CALLBACK (toggle_button_toggled));
+
prefs->mlimit_count = GTK_SPIN_BUTTON (glade_xml_get_widget (gui, "mlimit_spin"));
spin_button_init (prefs, prefs->mlimit_count,
"/apps/evolution/mail/display/message_text_part_limit",