From 347a9a04cf4c1fbacdb7c44f872e9d67bc0801b0 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 1 Feb 2005 07:41:49 +0000 Subject: use the type hint to sort for inbox, not the name. 2005-02-01 Not Zed * em-folder-tree-model.c (sort_cb): use the type hint to sort for inbox, not the name. (emft_is_special_local_folder): removed. (em_folder_tree_model_set_folder_info): special-case the local-store case, handle translated names and the name hints. * em-folder-tree.c (render_pixbuf): use the camel folderinfo folder type to determine the icon, don't hardcode based on name. ** 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. svn path=/trunk/; revision=28653 --- mail/em-composer-prefs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/em-composer-prefs.c') diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index 33f0908a1c..7a3cd88beb 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -390,6 +390,8 @@ sig_add_script_response (GtkWidget *widget, int button, EMComposerPrefs *prefs) /* 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 *widget, int button, EMComposerPrefs *prefs) g_object_unref (sig); } + mail_config_save_signatures(); + gtk_widget_hide (prefs->sig_script_dialog); g_strfreev (argv); g_free (script); -- cgit v1.2.3