aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-01-12 22:03:41 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-01-12 22:03:41 +0800
commit4619dea1c7b92c79e707b6a660f3a507065ed65d (patch)
tree5533c7673fbd0c809a78cf676b2dd79ebdc41d8d
parent863c66f94e8fee8e5c7ff007d66bdcc2b6bb300a (diff)
downloadgsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar.gz
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar.bz2
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar.lz
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar.xz
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.tar.zst
gsoc2013-evolution-4619dea1c7b92c79e707b6a660f3a507065ed65d.zip
Get the value for the autodelete toggle button (page_changed_cb): Do not
2005-01-12 Chenthill Palanisamy <pchenthill@novell.com> * e-send-options.c: (e_send_options_get_widgets_data), (e_send_options_fill_widgets_with_data): Get the value for the autodelete toggle button (page_changed_cb): Do not hide the classification label and its combo box here. svn path=/trunk/; revision=28379
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-send-options.c9
2 files changed, 15 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index f7b96ea213..dfdbb7df99 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-12 Chenthill Palanisamy <pchenthill@novell.com>
+
+ * e-send-options.c: (e_send_options_get_widgets_data),
+ (e_send_options_fill_widgets_with_data): Get the value
+ for the autodelete toggle button
+ (page_changed_cb): Do not hide the classification label
+ and its combo box here.
+
2005-01-10 Chenthill Palanisamy <pchenthill@novell.com>
* e-send-options.c: (e_send_options_get_widgets_data),
diff --git a/widgets/misc/e-send-options.c b/widgets/misc/e-send-options.c
index dbb6b34825..3be5152ef8 100644
--- a/widgets/misc/e-send-options.c
+++ b/widgets/misc/e-send-options.c
@@ -126,6 +126,8 @@ e_send_options_get_widgets_data (ESendOptionsDialog *sod)
sopts->tracking_enabled = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->create_sent));
+ sopts->autodelete = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->autodelete));
+
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delivered)))
sopts->track_when = E_DELIVERED;
else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->delivered_opened)))
@@ -189,6 +191,11 @@ e_send_options_fill_widgets_with_data (ESendOptionsDialog *sod)
else
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->create_sent), FALSE);
+ if (sopts->autodelete)
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->autodelete), TRUE);
+ else
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->autodelete), FALSE);
+
switch (sopts->track_when) {
case E_DELIVERED:
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->delivered), TRUE);
@@ -341,8 +348,6 @@ page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, int num, gpointer
} else if (num == 2) {
gtk_widget_hide (priv->completed_label);
gtk_widget_hide (priv->when_completed);
- gtk_widget_hide (priv->classification_label);
- gtk_widget_hide (priv->classification);
gtk_widget_set_sensitive (priv->autodelete, FALSE);
gtk_widget_show (priv->accepted_label);