From dbe2c18c4c4ed35437d7e779e02448778537585a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 6 Oct 2003 16:56:52 +0000 Subject: Don't blindly claim that the file exists and then ask the user if he/she 2003-09-26 Jeffrey Stedfast * e-msg-composer.c (save): Don't blindly claim that the file exists and then ask the user if he/she would like to overwrite it. First check that the file even exists, if not - then we've got a different error. Fixes bug #48759. * e-msg-composer-select-file.c (e_msg_composer_select_file): Use the proper selector title, otherwise it says "Attach files" when we are trying to save a message. svn path=/trunk/; revision=22798 --- composer/e-msg-composer-select-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'composer/e-msg-composer-select-file.c') diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index 0ad89c220b..3726124837 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -99,7 +99,7 @@ e_msg_composer_select_file (EMsgComposer *composer, const char *title) GtkFileSelection *selection; char *name = NULL; - selection = run_selector(composer, _("Attach file(s)"), TRUE, NULL); + selection = run_selector (composer, title, TRUE, NULL); if (selection) { name = g_strdup(gtk_file_selection_get_filename(selection)); gtk_widget_destroy((GtkWidget *)selection); -- cgit