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/em-composer-prefs.c | |
parent | 9398bfb031a3d99a0ae23dbe5f901a5776ecb31e (diff) | |
download | gsoc2013-evolution-55b11cd1608e14064222c83f35a85fe56b72038d.tar.gz 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/em-composer-prefs.c')
-rw-r--r-- | mail/em-composer-prefs.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |