From 55b11cd1608e14064222c83f35a85fe56b72038d Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 6 May 2004 14:31:50 +0000 Subject: reset the preview if no signature is selected 2004-05-06 Radek Doulik * em-composer-prefs.c (sig_selection_changed): reset the preview if no signature is selected Fixes #57167 svn path=/trunk/; revision=25815 --- mail/ChangeLog | 7 +++++++ mail/em-composer-prefs.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * em-composer-prefs.c (sig_selection_changed): reset the preview + if no signature is selected + + Fixes #57167 + 2004-05-05 Jeffrey Stedfast * 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); -- cgit