Revision 3258 src/summaryview.c

View differences:

summaryview.c
3891 3891
	MsgInfo *msginfo = NULL;
3892 3892
	gchar *filename;
3893 3893
	gchar *src, *dest;
3894
	GSList *types;
3894
	FileselFileType types[4] = {{NULL, NULL}};
3895 3895
	gint selected_type = 0;
3896 3896
	gint result;
3897 3897
	gboolean all_headers;
......
3912 3912
	}
3913 3913
	subst_for_filename(filename);
3914 3914

  
3915
	types = g_slist_append(NULL, _("Original (EML/RFC 822)"));
3916
	types = g_slist_append(types, _("Text"));
3917
	types = g_slist_append(types, _("Text (UTF-8)"));
3915
	types[0].type = _("Original (EML/RFC 822)");
3916
	types[0].ext = "eml";
3917
	types[1].type = _("Text");
3918
	types[1].ext = "txt";
3919
	types[2].type = _("Text (UTF-8)");
3920
	types[2].ext = "txt";
3921
	
3918 3922
	dest = filesel_save_as_type(filename, types, 0, &selected_type);
3919
	g_slist_free(types);
3920 3923

  
3921 3924
	g_free(filename);
3922 3925
	if (!dest)

Also available in: Unified diff