diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-21 04:34:52 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-21 04:34:52 +0800 |
commit | 43561d50ef35b0b46d20d7754ebc3be8894bf09d (patch) | |
tree | bbac3767ef31fa71731d48d55c77c5d33921dc2b | |
parent | 10325a5d48ac226cb75cace350094f760710a33e (diff) | |
download | gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar.gz gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar.bz2 gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar.lz gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar.xz gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.tar.zst gsoc2013-evolution-43561d50ef35b0b46d20d7754ebc3be8894bf09d.zip |
Don't forget to add the signature to the signature list if it is a valid
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.
svn path=/trunk/; revision=20444
-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); } |