Commit 01fac0f5 authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Provide standard file extension filters for import plugins

parent fc92072f
- File selectors in "Import XYZ" plugins now filter for standard file extensions, by default
- Show a warning screen when invoking plugins from the command line (or from clicking an rkward://-link in an external application)
--- Version 0.6.4 - Dec-20-2015
......
......@@ -3279,7 +3279,7 @@ Child-elements:
</varlistentry>
<varlistentry>
<term><parameter>filter</parameter></term>
<listitem><para>File type filter, &eg; ("*.txt *.csv" for .txt and .csv files. Try not to induce limits unless absolutely needed, though) (optional, defaults to "", &ie; all files)</para></listitem>
<listitem><para>File type filter, &eg; ("*.txt *.csv" for .txt and .csv files). A separate entry for "All files" is added, automatically (optional, defaults to "", &ie; All files)</para></listitem>
</varlistentry>
<varlistentry>
<term><parameter>required</parameter></term>
......
......@@ -97,7 +97,7 @@
<dialog label="Import Text / CSV data" >
<tabbook>
<tab id="tab_general" label="General" >
<browser id="file" type="file" label="File name"/>
<browser id="file" type="file" label="File name" filter="*.csv *.tsv *.txt"/>
<dropdown id="quick" label="Data format" >
<option value="csv" label="Comma separated values (CSV)" checked="true" />
<option value="csv2" label="Semicolon separated values, comma as decimal separator (CSV2)" />
......
......@@ -19,7 +19,7 @@
<dialog label="Import SPSS file">
<tabbook>
<tab id="tab_general" label="General">
<browser type="file" id="file" label="File name" />
<browser type="file" id="file" label="File name" filter="*.sav *.por"/>
<stretch/>
<row>
<saveobject id="saveto" initial="my.spss.data" label="Object to save to"/>
......
......@@ -13,7 +13,7 @@
<dialog label="Import STATA file">
<tabbook>
<tab id="tab_general" label="General">
<browser type="file" allow_urls="true" id="file" label="File name" />
<browser type="file" allow_urls="true" id="file" label="File name" filter="*.dta" />
<stretch/>
<row>
<saveobject id="saveto" initial="my.stata.data" label="Object to save to"/>
......
......@@ -30,7 +30,7 @@
<attribute id="format" value="*.sav *.por" label="SPSS data files"/>
</component>
<component type="standard" id="import_csv" file="import/import_csv.xml" label="Import Text / CSV data">
<attribute id="format" value="*.txt *.csv" label="Text / Comma Separated Values"/>
<attribute id="format" value="*.txt *.csv *.tsv" label="Text / Comma Separated Values"/>
</component>
<component type="standard" id="import_stata" file="import/import_stata.xml" label="Import Stata">
<attribute id="format" value="*.dta" label="Stata data files"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment