aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-config-gui.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index dfed8018b3..e2802b2814 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-08 Dan Winship <danw@helixcode.com>
+
+ * 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.
+
2000-08-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (view_msg): New convenience function with params of a
@@ -19,7 +25,7 @@
* mail-config-gui.c: Add "Don't delete messages from server"
button to remote SOURCEs that aren't STORAGEs (ie, POP).
(provider_list): Only list SOURCEs. (ie, not mh)
-
+
* mail-config.c: Save/load "keep_on_server" flag.
* mail-ops.c (fetch_remote_mail): New function, split out of
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++;