aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-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);