If the user hits "No", then don't destroy the filesel window.
2001-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (save_msg_ok): If the user hits "No", then don't destroy the filesel window. * mail-ops.c (save_messages_save): Open with mode 0666 as danw suggests. svn path=/trunk/; revision=7553
This commit is contained in:
committed by
Jeffrey Stedfast
parent
5454c35a42
commit
9180a6949f
@ -1,3 +1,11 @@
|
||||
2001-01-16 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* mail-callbacks.c (save_msg_ok): If the user hits "No", then
|
||||
don't destroy the filesel window.
|
||||
|
||||
* mail-ops.c (save_messages_save): Open with mode 0666 as danw
|
||||
suggests.
|
||||
|
||||
2001-01-16 Chris Toshok <toshok@helixcode.com>
|
||||
|
||||
* component-factory.c (owner_set_cb): only load the news storage
|
||||
|
||||
@ -832,9 +832,8 @@ save_msg_ok (GtkWidget *widget, gpointer user_data)
|
||||
uids = gtk_object_get_data (GTK_OBJECT (user_data), "uids");
|
||||
gtk_object_remove_no_notify (GTK_OBJECT (user_data), "uids");
|
||||
mail_save_messages (folder, uids, path, NULL, NULL);
|
||||
gtk_widget_destroy (GTK_WIDGET (user_data));
|
||||
}
|
||||
|
||||
gtk_widget_destroy (GTK_WIDGET (user_data));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@ -1898,7 +1898,7 @@ static void save_messages_save(struct _mail_msg *mm)
|
||||
int fd, i;
|
||||
char *from;
|
||||
|
||||
fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC);
|
||||
fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
||||
if (fd == -1) {
|
||||
camel_exception_setv(&mm->ex, CAMEL_EXCEPTION_SYSTEM,
|
||||
_("Unable to create output file: %s\n %s"), m->path, strerror(errno));
|
||||
|
||||
Reference in New Issue
Block a user