[Commits] [SCM] claws branch, master, updated. 3.17.5-16-g6aa5a37b2
paul at claws-mail.org
paul at claws-mail.org
Tue May 12 19:15:08 CEST 2020
The branch, master has been updated
via 6aa5a37b201e6b5be8452f205dfb5278a8d6718f (commit)
from 68d88ecf5cc6184de3f528b0d7ab121c40837aa9 (commit)
Summary of changes:
src/import.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 6aa5a37b201e6b5be8452f205dfb5278a8d6718f
Author: Paul <paul at claws-mail.org>
Date: Tue May 12 18:15:03 2020 +0100
fix bug 4342, 'Import mbox file command doesn't work twice on a row'
diff --git a/src/import.c b/src/import.c
index ec458e1fa..7c4726948 100644
--- a/src/import.c
+++ b/src/import.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -192,6 +192,7 @@ static void import_create(void)
static void import_ok_cb(GtkWidget *widget, gpointer data)
{
+ GtkWidget *window;
const gchar *utf8mbox, *destdir;
FolderItem *dest;
gchar *mbox;
@@ -232,15 +233,9 @@ static void import_ok_cb(GtkWidget *widget, gpointer data)
g_free(mbox);
return;
} else {
- gtk_widget_set_sensitive(file_entry, FALSE);
- gtk_widget_set_sensitive(dest_entry, FALSE);
- gtk_widget_set_sensitive(file_button, FALSE);
- gtk_widget_set_sensitive(dest_button, FALSE);
- gtk_widget_set_sensitive(ok_button, FALSE);
- gtk_widget_set_sensitive(cancel_button, FALSE);
- GTK_EVENTS_FLUSH();
-
+ window = label_window_create(_("Importing mbox file..."));
import_ok = proc_mbox(dest, mbox, FALSE, NULL);
+ label_window_destroy(window);
}
g_free(mbox);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list