Revision 3283

View differences:

src/textview.c
500 500
		return;
501 501
	}
502 502

  
503
	debug_print("textview_show_message: displaying: %s\n", file);
504

  
503 505
	charset = textview_get_src_encoding(textview, mimeinfo);
504 506
	textview_set_font(textview, charset);
505 507
	textview_clear(textview);
......
512 514

  
513 515
		gtk_text_buffer_get_end_iter(buffer, &iter);
514 516
		textview->body_pos = gtk_text_iter_get_offset(&iter);
515
		debug_print("textview_show_message: body_pos: %d\n",
516
			    textview->body_pos);
517 517
	} else {
518 518
		gtk_text_buffer_get_end_iter(buffer, &iter);
519 519
		mark = gtk_text_buffer_get_mark(buffer, "attach-file-pos");
......
632 632

  
633 633
		gtk_text_buffer_get_end_iter(buffer, &iter);
634 634
		textview->body_pos = gtk_text_iter_get_offset(&iter);
635
		debug_print("textview_show_part: body_pos: %d\n",
636
			    textview->body_pos);
637 635
		if (!mimeinfo->main)
638 636
			gtk_text_buffer_insert(buffer, &iter, "\n", 1);
639 637
	} else {
......
961 959
		g_snprintf(buf, sizeof(buf), "%s (%s)",
962 960
			   mimeinfo->content_type,
963 961
			   to_human_readable(mimeinfo->content_size));
962
		debug_print("textview_add_part: adding: %s\n", buf);
964 963
		gtk_text_buffer_insert(buffer, &iter, "\n", 1);
965 964
		textview_add_part_widget(textview, &iter, mimeinfo, buf);
966 965
		gtk_text_buffer_get_end_iter(buffer, &iter);
......
994 993
			   mimeinfo->content_type,
995 994
			   to_human_readable(mimeinfo->content_size));
996 995

  
996
	debug_print("textview_add_part: adding: %s\n", buf);
997

  
997 998
	if (mimeinfo->mime_type != MIME_TEXT &&
998 999
	    mimeinfo->mime_type != MIME_TEXT_HTML) {
999 1000
		if (mimeinfo->mime_type == MIME_IMAGE &&
......
2755 2756
		RemoteURI *uri = (RemoteURI *)cur->data;
2756 2757

  
2757 2758
		if (uri->start >= start) {
2758
			debug_print("textview_uri_list_update_offsets: update: (%d, %d) -> (%d, %d)\n", uri->start, uri->end, uri->start + add, uri->end + add);
2759 2759
			uri->start += add;
2760 2760
			uri->end += add;
2761 2761
		}
ChangeLog
1
2013-09-17
2

  
3
	* src/textview.c: modified debug output.
4

  
1 5
2013-09-13
2 6

  
3 7
	* libsylph/procheader.c

Also available in: Unified diff