[evolution-patches] 71310, signatures not being saved
- From: not zed <notzed ximian com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] 71310, signatures not being saved
- Date: Tue, 01 Feb 2005 12:09:53 +0800
? mail/evolution-mail-2.0.schemas
? mail/ma.diff
? mail/default/zh_CN/Makefile
? mail/default/zh_CN/Makefile.in
Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3561
diff -u -p -r1.3561 ChangeLog
--- mail/ChangeLog 1 Feb 2005 00:33:53 -0000 1.3561
+++ mail/ChangeLog 1 Feb 2005 04:01:50 -0000
@@ -1,5 +1,11 @@
2005-02-01 Not Zed <NotZed Ximian com>
+ ** See bug #71310
+
+ * em-composer-prefs.c (sig_add_script_response): force a save of
+ the signatures as soon as they change. Also save the script name
+ if we were just editing it, not just the signature name.
+
** See bug #71312.
* em-folder-view.c (em_folder_view_open_selected): if we're
Index: mail/em-composer-prefs.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-composer-prefs.c,v
retrieving revision 1.24
diff -u -p -r1.24 em-composer-prefs.c
--- mail/em-composer-prefs.c 24 Jan 2005 21:11:07 -0000 1.24
+++ mail/em-composer-prefs.c 1 Feb 2005 04:01:51 -0000
@@ -390,6 +390,8 @@ sig_add_script_response (GtkWidget *widg
/* we're just editing an existing signature script */
g_free (sig->name);
sig->name = g_strdup (name);
+ g_free(sig->filename);
+ sig->filename = g_strdup(script);
e_signature_list_change (mail_config_get_signatures (), sig);
} else {
sig = mail_config_signature_new (script, TRUE, TRUE);
@@ -399,6 +401,8 @@ sig_add_script_response (GtkWidget *widg
g_object_unref (sig);
}
+ mail_config_save_signatures();
+
gtk_widget_hide (prefs->sig_script_dialog);
g_strfreev (argv);
g_free (script);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]