diff options
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-composer-prefs.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 60e03ccb2a..7c823ffd90 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> + * mail-composer-prefs.c (sig_add_script_response): Don't forget to + add the signature to the signature list if it is a valid script. + * mail-config.c (mail_config_signature_unregister_client): Make sure we can find the registered handler before trying to remove it from the list. diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 9ed7acbd0b..eb86bb291d 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -299,6 +299,8 @@ sig_add_script_response (GtkWidget *widget, int button, MailComposerPrefs *prefs sig = mail_composer_prefs_new_signature ((GtkWindow *) parent, TRUE, script); mail_config_signature_set_name (sig, name); + mail_config_signature_add (sig); + gtk_widget_hide (prefs->sig_script_dialog); return; @@ -325,7 +327,7 @@ sig_add_script_cb (GtkWidget *widget, MailComposerPrefs *prefs) entry = glade_xml_get_widget (prefs->sig_script_gui, "entry_add_script_name"); gtk_entry_set_text (GTK_ENTRY (entry), _("Unnamed")); - gtk_widget_show_all (prefs->sig_script_dialog); + gtk_widget_show (prefs->sig_script_dialog); gdk_window_raise (prefs->sig_script_dialog->window); } |