aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-gui.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-09 09:56:51 +0800
committerDan Winship <danw@src.gnome.org>2000-08-09 09:56:51 +0800
commit6d34729106baa2e3a9fd9db29db04b0f9b8e984b (patch)
tree1396bdc93fb3d4ac9016ea907bd23be2d7ded150 /mail/mail-config-gui.c
parentb9a9cd3a8699c350dc6746c595e4de3e030545c4 (diff)
downloadgsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar.gz
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar.bz2
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar.lz
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar.xz
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.tar.zst
gsoc2013-evolution-6d34729106baa2e3a9fd9db29db04b0f9b8e984b.zip
Attach a signal handler to call the "changed" function when the user
* mail-config-gui.c (service_page_item_new): Attach a signal handler to call the "changed" function when the user clicks the "keep on server" checkbox. svn path=/trunk/; revision=4620
Diffstat (limited to 'mail/mail-config-gui.c')
-rw-r--r--mail/mail-config-gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index fda81c7b43..87f81cd457 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -973,6 +973,9 @@ service_page_item_new (MailDialogServicePage *page, MailService *mcs)
!(mcs->provider->flags & CAMEL_PROVIDER_IS_STORAGE)) {
item->keep_on_server = gtk_check_button_new_with_label (
_("Don't delete messages from server"));
+ gtk_signal_connect (GTK_OBJECT (item->keep_on_server), "toggled",
+ GTK_SIGNAL_FUNC (service_page_item_changed),
+ page);
gtk_table_attach (GTK_TABLE (table), item->keep_on_server,
0, 3, row, row + 1, GTK_FILL, 0, 0, 0);
row++;