2008-01-13 Raphael Ackermann <raphael.ackermann@gmail.com>

* src/DbLoader.py: typo
	* src/plugins/ImportCSV.py: register text/csv as another mime type for csv
	0001410: Import auto-detect doesn't recognize csv
	* Changelog: fix format. Single tab before source files line, double space
	between date and name.

svn: r9810
This commit is contained in:
Raphael Ackermann
2008-01-14 23:03:16 +00:00
parent 619b5866a9
commit 9ec17fdf02
3 changed files with 34 additions and 24 deletions

View File

@@ -3,6 +3,7 @@
#
# Copyright (C) 2007 Douglas S. Blank
# Copyright (C) 2000-2007 Donald N. Allingham
# Copyright (C) 2008 Raphael Ackerman
#
# 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
@@ -667,8 +668,10 @@ class CSVParser:
#
#-------------------------------------------------------------------------
_mime_type = "text/x-comma-separated-values" # CSV Document
_mime_type_rfc_4180 = "text/csv" # CSV Document See rfc4180 for mime type
_filter = gtk.FileFilter()
_filter.set_name(_('CSV spreadsheet files'))
_filter.add_mime_type(_mime_type)
_format_name = _('CSV Spreadheet')
register_import(importData,_filter,_mime_type,0,_format_name)
register_import(importData, _filter, _mime_type, 0, _format_name)
register_import(importData, _filter, _mime_type_rfc_4180, 0, _format_name)