projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6aa5a37
)
make the progress window more responsive when importing mbox file
author
Paul
<paul@claws-mail.org>
Tue, 12 May 2020 17:17:08 +0000
(18:17 +0100)
committer
Paul
<paul@claws-mail.org>
Tue, 12 May 2020 17:17:08 +0000
(18:17 +0100)
src/gtk/gtkutils.c
patch
|
blob
|
history
src/mbox.c
patch
|
blob
|
history
diff --git
a/src/gtk/gtkutils.c
b/src/gtk/gtkutils.c
index 7d1e244c8581e4eeb5cb445a81f568ddf6f0641c..4eea7fb31d61b844e8a865e3e6e7d1076cb39ba6 100644
(file)
--- a/
src/gtk/gtkutils.c
+++ b/
src/gtk/gtkutils.c
@@
-1,6
+1,6
@@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-20
18 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-20
20 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
*
* 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
@@
-757,7
+757,7
@@
static gboolean move_bar_cb(gpointer data)
if (!GTK_IS_PROGRESS_BAR(w)) {
return FALSE;
}
if (!GTK_IS_PROGRESS_BAR(w)) {
return FALSE;
}
-
+ gtk_progress_bar_set_pulse_step(GTK_PROGRESS_BAR(w), 0.1);
gtk_progress_bar_pulse(GTK_PROGRESS_BAR(w));
GTK_EVENTS_FLUSH();
return TRUE;
gtk_progress_bar_pulse(GTK_PROGRESS_BAR(w));
GTK_EVENTS_FLUSH();
return TRUE;
diff --git
a/src/mbox.c
b/src/mbox.c
index 26fece154bf1a7c56924e69f77586298421fe396..faa63d55ca727068e33707e3a7d54cd867bedb3f 100644
(file)
--- a/
src/mbox.c
+++ b/
src/mbox.c
@@
-1,6
+1,6
@@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-20
15 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-20
20 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
*
* 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
@@
-134,7
+134,7
@@
gint proc_mbox(FolderItem *dest, const gchar *mbox, gboolean apply_filter,
gint empty_lines;
gint msgnum;
gint empty_lines;
gint msgnum;
- if (msgs%
50
0 == 0) {
+ if (msgs%
1
0 == 0) {
long cur_offset_mb = ftell(mbox_fp) / (1024 * 1024);
if (printed)
statusbar_pop_all();
long cur_offset_mb = ftell(mbox_fp) / (1024 * 1024);
if (printed)
statusbar_pop_all();