aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-composer-prefs.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 02c4b831a0..fef7ff35d8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-06 Radek Doulik <rodo@ximian.com>
+
+ * em-composer-prefs.c (sig_selection_changed): reset the preview
+ if no signature is selected
+
+ Fixes #57167
+
2004-05-05 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_row_collapsed): Select the row that
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index 3c7783ea20..0a678899e1 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -440,7 +440,8 @@ sig_selection_changed (GtkTreeSelection *selection, EMComposerPrefs *prefs)
if (state) {
gtk_tree_model_get (model, &iter, 1, &sig, -1);
sig_load_preview (prefs, sig);
- }
+ } else
+ sig_load_preview (prefs, NULL);
gtk_widget_set_sensitive ((GtkWidget *) prefs->sig_delete, state);
gtk_widget_set_sensitive ((GtkWidget *) prefs->sig_edit, state);