diff options
author | Radek Doulik <rodo@ximian.com> | 2004-05-06 22:31:50 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-05-06 22:31:50 +0800 |
commit | 55b11cd1608e14064222c83f35a85fe56b72038d (patch) | |
tree | b2e293f5f1c0836f28716d213de6b84e23d7e395 /mail | |
parent | 9398bfb031a3d99a0ae23dbe5f901a5776ecb31e (diff) | |
download | gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.gz gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.bz2 gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.lz gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.xz gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.zst gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.zip |
reset the preview if no signature is selected
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
svn path=/trunk/; revision=25815
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-composer-prefs.c | 3 |
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); |