( cvs diff -u -r 1.43.2.60 -r 1.43.2.61 src/prefs_matcher.c; ) > 2.10.0cvs80.patchset
( cvs diff -u -r 1.5.2.13 -r 1.5.2.14 src/setup.c; cvs diff -u -r 1.5.2.62 -r 1.5.2.63 src/gtk/gtkutils.c; ) > 2.10.0cvs81.patchset
( cvs diff -u -r 1.39.2.39 -r 1.39.2.40 src/mainwindow.h; cvs diff -u -r 1.43.2.80 -r 1.43.2.81 src/toolbar.c; cvs diff -u -r 1.1.14.1 -r 1.1.14.2 src/pixmaps/close.xpm; cvs diff -u -r 1.1.16.1 -r 1.1.16.2 src/pixmaps/jpilot.xpm; ) > 2.10.0cvs82.patchset
+( cvs diff -u -r 1.96.2.179 -r 1.96.2.180 src/textview.c; ) > 2.10.0cvs83.patchset
CodeConverter *conv;
const gchar *charset, *p, *cmd;
GSList *cur;
- int lines = 0;
if (textview->messageview->forced_charset)
charset = textview->messageview->forced_charset;
while (fgets(buf, sizeof(buf), tmpfp)) {
textview_write_line(textview, buf, conv, TRUE);
- lines++;
- if (lines % 500 == 0)
- GTK_EVENTS_FLUSH();
if (textview->stop_loading) {
fclose(tmpfp);
waitpid(pid, pfd, 0);
#endif
} else {
textview_default:
- lines = 0;
tmpfp = g_fopen(mimeinfo->data.filename, "rb");
fseek(tmpfp, mimeinfo->offset, SEEK_SET);
debug_print("Viewing text content of type: %s (length: %d)\n", mimeinfo->subtype, mimeinfo->length);
while ((ftell(tmpfp) < mimeinfo->offset + mimeinfo->length) &&
(fgets(buf, sizeof(buf), tmpfp) != NULL)) {
textview_write_line(textview, buf, conv, TRUE);
- lines++;
- if (lines % 500 == 0)
- GTK_EVENTS_FLUSH();
if (textview->stop_loading) {
fclose(tmpfp);
return;
conv_code_converter_destroy(conv);
procmime_force_encoding(0);
- lines = 0;
textview->uri_list = g_slist_reverse(textview->uri_list);
for (cur = textview->uri_list; cur; cur = cur->next) {
ClickableText *uri = (ClickableText *)cur->data;
if (!prefs_common.hide_quotes ||
uri->quote_level+1 < prefs_common.hide_quotes) {
textview_toggle_quote(textview, cur, uri, TRUE);
- lines++;
- if (lines % 500 == 0)
- GTK_EVENTS_FLUSH();
if (textview->stop_loading) {
return;
}
}
}
+
+ GTK_EVENTS_FLUSH();
}
static void textview_show_html(TextView *textview, FILE *fp,