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:
parent
619b5866a9
commit
9ec17fdf02
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2008-01-14 Jerome Rapinat <romjerome@yahoo.fr>
|
||||
* data/man/fr/gramps.1.in: new man file
|
||||
|
||||
|
@ -111,7 +111,7 @@ class DbLoader:
|
||||
'gramps-import',gtk.RESPONSE_OK))
|
||||
choose.set_local_only(False)
|
||||
|
||||
# Always add automatic (macth all files) filter
|
||||
# Always add automatic (match all files) filter
|
||||
add_all_files_filter(choose)
|
||||
add_grdb_filter(choose)
|
||||
add_xml_filter(choose)
|
||||
|
@ -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_rfc_4180, 0, _format_name)
|
||||
|
Loading…
Reference in New Issue
Block a user