diff options
Diffstat (limited to 'plugins/filebrowser')
3 files changed, 46 insertions, 49 deletions
diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am index 2124904c..3b494cdf 100644 --- a/plugins/filebrowser/Makefile.am +++ b/plugins/filebrowser/Makefile.am @@ -66,17 +66,14 @@ pluma-file-browser-marshal.c: pluma-file-browser-marshal.list $(GLIB_GENMARSHAL) plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin) @INTLTOOL_XML_NOMERGE_RULE@ -gsettings_SCHEMAS = org.mate.pluma.plugins.filebrowser.gschema.xml +filebrowser_gschema_in = org.mate.pluma.plugins.filebrowser.gschema.xml.in +gsettings_SCHEMAS = $(filebrowser_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ -%.gschema.xml.in: %.gschema.xml.in.in Makefile - $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ - - EXTRA_DIST = \ $(ui_DATA) \ $(plugin_in_files) \ - $(gsettings_SCHEMAS).in.in \ + $(filebrowser_gschema_in) \ pluma-file-browser-enum-types.h.template \ pluma-file-browser-enum-types.c.template \ pluma-file-browser-enum-register.c.template \ diff --git a/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in b/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in new file mode 100644 index 00000000..cf5ada52 --- /dev/null +++ b/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<schemalist> + <schema id="org.mate.pluma.plugins.filebrowser" path="/org/mate/pluma/plugins/filebrowser/"> + <key name="open-at-first-doc" type="b"> + <default>true</default> + <summary>Set Location to First Document</summary> + <description>If TRUE the file browser plugin will view the directory of the first opened document given that the file browser hasn't been used yet. (Thus this generally applies to opening a document from the command line or opening it with Caja, etc.)</description> + </key> + <key name="filter-mode" type="s"> + <default>'hidden_and_binary'</default> + <summary>File Browser Filter Mode</summary> + <description>This value determines what files get filtered from the file browser. Valid values are: none (filter nothing), hidden (filter hidden files), binary (filter binary files) and hidden_and_binary (filter both hidden and binary files).</description> + </key> + <key name="filter-pattern" type="s"> + <default>''</default> + <summary>File Browser Filter Pattern</summary> + <description>The filter pattern to filter the file browser with. This filter works on top of the filter_mode.</description> + </key> + <child name="on-load" schema="org.mate.pluma.plugins.filebrowser.on-load"/> + </schema> + <schema id="org.mate.pluma.plugins.filebrowser.on-load" path="/org/mate/pluma/plugins/filebrowser/on-load/"> + <key name="tree-view" type="b"> + <default>true</default> + <summary>Open With Tree View</summary> + <description>Open the tree view when the file browser plugin gets loaded instead of the bookmarks view</description> + </key> + <key name="root" type="s"> + <default>''</default> + <summary>File Browser Root Directory</summary> + <description>The file browser root directory to use when loading the file browser plugin and onload/tree_view is TRUE.</description> + </key> + <key name="virtual-root" type="s"> + <default>''</default> + <summary>File Browser Virtual Root Directory</summary> + <description>The file browser virtual root directory to use when loading the file browser plugin when onload/tree_view is TRUE. The virtual root must always be below the actual root.</description> + </key> + <key name="enable-remote" type="b"> + <default>false</default> + <summary>Enable Restore of Remote Locations</summary> + <description>Sets whether to enable restoring of remote locations.</description> + </key> + </schema> +</schemalist> diff --git a/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in.in b/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in.in deleted file mode 100644 index 4b128f97..00000000 --- a/plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml.in.in +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<schemalist> - <schema id="org.mate.pluma.plugins.filebrowser" path="/org/mate/pluma/plugins/filebrowser/"> - <key name="open-at-first-doc" type="b"> - <default>true</default> - <_summary>Set Location to First Document</_summary> - <_description>If TRUE the file browser plugin will view the directory of the first opened document given that the file browser hasn't been used yet. (Thus this generally applies to opening a document from the command line or opening it with Caja, etc.)</_description> - </key> - <key name="filter-mode" type="s"> - <default>'hidden_and_binary'</default> - <_summary>File Browser Filter Mode</_summary> - <_description>This value determines what files get filtered from the file browser. Valid values are: none (filter nothing), hidden (filter hidden files), binary (filter binary files) and hidden_and_binary (filter both hidden and binary files).</_description> - </key> - <key name="filter-pattern" type="s"> - <default>''</default> - <_summary>File Browser Filter Pattern</_summary> - <_description>The filter pattern to filter the file browser with. This filter works on top of the filter_mode.</_description> - </key> - <child name="on-load" schema="org.mate.pluma.plugins.filebrowser.on-load"/> - </schema> - <schema id="org.mate.pluma.plugins.filebrowser.on-load" path="/org/mate/pluma/plugins/filebrowser/on-load/"> - <key name="tree-view" type="b"> - <default>true</default> - <_summary>Open With Tree View</_summary> - <_description>Open the tree view when the file browser plugin gets loaded instead of the bookmarks view</_description> - </key> - <key name="root" type="s"> - <default>''</default> - <_summary>File Browser Root Directory</_summary> - <_description>The file browser root directory to use when loading the file browser plugin and onload/tree_view is TRUE.</_description> - </key> - <key name="virtual-root" type="s"> - <default>''</default> - <_summary>File Browser Virtual Root Directory</_summary> - <_description>The file browser virtual root directory to use when loading the file browser plugin when onload/tree_view is TRUE. The virtual root must always be below the actual root.</_description> - </key> - <key name="enable-remote" type="b"> - <default>false</default> - <_summary>Enable Restore of Remote Locations</_summary> - <_description>Sets whether to enable restoring of remote locations.</_description> - </key> - </schema> -</schemalist> |