summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-24 20:44:32 +0100
committerStefano Karapetsas <[email protected]>2013-01-24 20:44:32 +0100
commitc3ebc88709aebb8be2b010f73a6e08ce88a2b54a (patch)
tree61924207d8f40efd5ae0cdaca2bfc177cfde3a0c /data
parent08a1f87229d999b59c949798ac139c66191ddc35 (diff)
downloadpluma-c3ebc88709aebb8be2b010f73a6e08ce88a2b54a.tar.bz2
pluma-c3ebc88709aebb8be2b010f73a6e08ce88a2b54a.tar.xz
Add GSettings schema
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am31
-rw-r--r--data/org.mate.pluma.gschema.xml.in.in200
-rw-r--r--data/pluma-bugreport.sh.in22
-rw-r--r--data/pluma.schemas.in.in537
4 files changed, 224 insertions, 566 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 502a7831..eab9b937 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,10 +3,16 @@ desktop_in_files = pluma.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
-schemas_in_files = pluma.schemas.in
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
-@INTLTOOL_SCHEMAS_RULE@
+@INTLTOOL_XML_NOMERGE_RULE@
+gsettings_SCHEMAS = org.mate.pluma.gschema.xml
+@GSETTINGS_RULES@
+
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) \
+ -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' \
+ -e 's^\@ACTIVE_PLUGINS\@^$(ACTIVE_PLUGINS)^g' \
+ -e 's^\@TOOLBAR_STYLE\@^$(TOOLBAR_STYLE)^g' \
+ < $< > $@
man_MANS = pluma.1
@@ -16,28 +22,17 @@ pkgconfig_DATA = pluma.pc
bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schemas_DATA) ; do \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
- done \
- fi
-else
-install-data-local:
-endif
-
EXTRA_DIST = \
$(desktop_in_files) \
- $(schemas_in_files) \
- pluma.schemas.in.in \
+ $(gsettings_SCHEMAS_in_in) \
$(man_MANS) \
pluma.pc.in \
pluma-bugreport.sh.in
CLEANFILES = \
$(desktop_DATA) \
- $(schemas_DATA) \
+ $(gsettings_SCHEMAS_in) \
+ $(gsettings_SCHEMAS) \
$(pkgconfig_DATA)
diff --git a/data/org.mate.pluma.gschema.xml.in.in b/data/org.mate.pluma.gschema.xml.in.in
new file mode 100644
index 00000000..1e34fbad
--- /dev/null
+++ b/data/org.mate.pluma.gschema.xml.in.in
@@ -0,0 +1,200 @@
+<?xml version="1.0"?>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <schema id="org.mate.pluma" path="/org/mate/pluma/">
+ <key name="use-default-font" type="b">
+ <default>true</default>
+ <_summary>Use Default Font</_summary>
+ <_description>Whether to use the system's default fixed width font for editing text instead of a font specific to pluma. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</_description>
+ </key>
+ <key name="editor-font" type="s">
+ <default context="editor-font" l10n="messages">'Monospace 12'</default>
+ <_summary>Editor Font</_summary>
+ <_description>A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off.</_description>
+ </key>
+ <key name="color-scheme" type="s">
+ <default>'tango'</default>
+ <_summary>Style Scheme</_summary>
+ <_description>The ID of a GtkSourceView Style Scheme used to color the text.</_description>
+ </key>
+ <key name="create-backup-copy" type="b">
+ <default>false</default>
+ <_summary>Create Backup Copies</_summary>
+ <_description>Whether pluma should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</_description>
+ </key>
+ <key name="auto-save" type="b">
+ <default>false</default>
+ <_summary>Autosave</_summary>
+ <_description>Whether pluma should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</_description>
+ </key>
+ <key name="auto-save-interval" type="i">
+ <default>10</default>
+ <_summary>Autosave Interval</_summary>
+ <_description>Number of minutes after which pluma will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</_description>
+ </key>
+ <key name="writable-vfs-schemes" type="as">
+ <default>[ 'dav', 'davs', 'ftp', 'sftp', 'smb', 'ssh' ]</default>
+ <_summary>Writable VFS schemes</_summary>
+ <_description>List of VFS schemes pluma supports in write mode. The 'file' scheme is writable by default.</_description>
+ </key>
+ <key name="max-undo-actions" type="i">
+ <default>2000</default>
+ <_summary>Maximum Number of Undo Actions</_summary>
+ <_description>Maximum number of actions that pluma will be able to undo or redo. Use "-1" for unlimited number of actions.</_description>
+ </key>
+ <key name="wrap-mode" type="s">
+ <default>'GTK_WRAP_WORD'</default>
+ <_summary>Line Wrapping Mode</_summary>
+ <_description>Specifies how to wrap long lines in the editing area. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="tabs-size" type="i">
+ <default>4</default>
+ <_summary>Tab Size</_summary>
+ <_description>Specifies the number of spaces that should be displayed instead of Tab characters.</_description>
+ </key>
+ <key name="insert-spaces" type="b">
+ <default>false</default>
+ <_summary>Insert spaces</_summary>
+ <_description>Whether pluma should insert spaces instead of tabs.</_description>
+ </key>
+ <key name="auto-indent" type="b">
+ <default>false</default>
+ <_summary>Automatic indent</_summary>
+ <_description>Whether pluma should enable automatic indentation.</_description>
+ </key>
+ <key name="display-line-numbers" type="b">
+ <default>false</default>
+ <_summary>Display Line Numbers</_summary>
+ <_description>Whether pluma should display line numbers in the editing area.</_description>
+ </key>
+ <key name="highlight-current-line" type="b">
+ <default>false</default>
+ <_summary>Highlight Current Line</_summary>
+ <_description>Whether pluma should highlight the current line.</_description>
+ </key>
+ <key name="bracket-matching" type="b">
+ <default>false</default>
+ <_summary>Highlight Matching Bracket</_summary>
+ <_description>Whether pluma should highlight the bracket matching the selected one.</_description>
+ </key>
+ <key name="display-right-margin" type="b">
+ <default>false</default>
+ <_summary>Display Right Margin</_summary>
+ <_description>Whether pluma should display the right margin in the editing area.</_description>
+ </key>
+ <key name="right-margin-position" type="i">
+ <default>80</default>
+ <_summary>Right Margin Position</_summary>
+ <_description>Specifies the position of the right margin.</_description>
+ </key>
+ <key name="smart-home-end" type="s">
+ <default>'after'</default>
+ <_summary>Smart Home End</_summary>
+ <_description>Specifies how the cursor moves when the HOME and END keys are pressed. Use "DISABLED" to always move at the start/end of the line, "AFTER" to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, "BEFORE" to move to the start/end of the text before moving to the start/end of the line and "ALWAYS" to always move to the start/end of the text instead of the start/end of the line.</_description>
+ </key>
+ <key name="restore-cursor-position" type="b">
+ <default>true</default>
+ <_summary>Restore Previous Cursor Position</_summary>
+ <_description>Whether pluma should restore the previous cursor position when a file is loaded.</_description>
+ </key>
+ <key name="enable-search-highlighting" type="b">
+ <default>true</default>
+ <_summary>Enable Search Highlighting</_summary>
+ <_description>Whether pluma should highlight all the occurrences of the searched text.</_description>
+ </key>
+ <key name="enable-syntax-highlighting" type="b">
+ <default>true</default>
+ <_summary>Enable Syntax Highlighting</_summary>
+ <_description>Whether pluma should enable syntax highlighting.</_description>
+ </key>
+ <key name="toolbar-visible" type="b">
+ <default>true</default>
+ <_summary>Toolbar is Visible</_summary>
+ <_description>Whether the toolbar should be visible in editing windows.</_description>
+ </key>
+ <key name="toolbar-buttons-style" type="s">
+ <default>'@TOOLBAR_STYLE@'</default>
+ <_summary>Toolbar Buttons Style</_summary>
+ <_description>Style for the toolbar buttons. Possible values are "PLUMA_TOOLBAR_SYSTEM" to use the system's default style, "PLUMA_TOOLBAR_ICONS" to display icons only, "PLUMA_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "PLUMA_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="statusbar-visible" type="b">
+ <default>true</default>
+ <_summary>Status Bar is Visible</_summary>
+ <_description>Whether the status bar at the bottom of editing windows should be visible.</_description>
+ </key>
+ <key name="side-pane-visible" type="b">
+ <default>false</default>
+ <_summary>Side Pane is Visible</_summary>
+ <_description>Whether the side pane at the left of editing windows should be visible.</_description>
+ </key>
+ <key name="bottom-panel-visible" type="b">
+ <default>false</default>
+ <_summary>Bottom Panel is Visible</_summary>
+ <_description>Whether the bottom panel at the bottom of editing windows should be visible.</_description>
+ </key>
+ <key name="max-recents" type="i">
+ <default>5</default>
+ <_summary>Maximum Recent Files</_summary>
+ <_description>Specifies the maximum number of recently opened files that will be displayed in the "Recent Files" submenu.</_description>
+ </key>
+ <key name="print-syntax-highlighting" type="b">
+ <default>true</default>
+ <_summary>Print Syntax Highlighting</_summary>
+ <_description>Whether pluma should print syntax highlighting when printing documents.</_description>
+ </key>
+ <key name="print-header" type="b">
+ <default>true</default>
+ <_summary>Print Header</_summary>
+ <_description>Whether pluma should include a document header when printing documents.</_description>
+ </key>
+ <key name="print-wrap-mode" type="s">
+ <default>'GTK_WRAP_WORD'</default>
+ <_summary>Printing Line Wrapping Mode</_summary>
+ <_description>Specifies how to wrap long lines for printing. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="print-line-numbers" type="i">
+ <default>0</default>
+ <_summary>Print Line Numbers</_summary>
+ <_description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, pluma will print line numbers every such number of lines.</_description>
+ </key>
+ <key name="print-font-body-pango" type="s">
+ <default context="print-font-body-pango" l10n="messages">'Monospace 9'</default>
+ <_summary>Body Font for Printing</_summary>
+ <_description>Specifies the font to use for a document's body when printing documents.</_description>
+ </key>
+ <key name="print-font-header-pango" type="s">
+ <default context="print-font-header-pango" l10n="messages">'Sans 11'</default>
+ <_summary>Header Font for Printing</_summary>
+ <_description>Specifies the font to use for page headers when printing a document. This will only take effect if the "Print Header" option is turned on.</_description>
+ </key>
+ <key name="print-font-numbers-pango" type="s">
+ <default context="print-font-numbers-pango" l10n="messages">'Sans 8'</default>
+ <_summary>Line Number Font for Printing</_summary>
+ <_description>Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero.</_description>
+ </key>
+ <key name="auto-detected-encodings" type="as">
+ <default context="auto-detected" l10n="messages">[ 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16' ]</default>
+ <_summary>Automatically Detected Encodings</_summary>
+ <_description>Sorted list of encodings used by pluma for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</_description>
+ </key>
+ <key name="shown-in-menu-encodings" type="as">
+ <default context="shown-in-menu" l10n="messages">[ 'ISO-8859-15' ]</default>
+ <_summary>Encodings shown in menu</_summary>
+ <_description>List of encodings shown in the Character Encoding menu in open/save file selector. Only recognized encodings are used.</_description>
+ </key>
+ <key name="history-search-for" type="as">
+ <default>[]</default>
+ <_summary>History for "search for" entries</_summary>
+ <_description>List of entries in "search for" textbox.</_description>
+ </key>
+ <key name="history-replace-with" type="as">
+ <default>[]</default>
+ <_summary>History for "replace with" entries</_summary>
+ <_description>List of entries in "replace with" textbox.</_description>
+ </key>
+ <key name="active-plugins" type="as">
+ <default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
+ <_summary>Active plugins</_summary>
+ <_description>List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining the "Location" of a given plugin.</_description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/data/pluma-bugreport.sh.in b/data/pluma-bugreport.sh.in
index e62a35ec..48ae5bc5 100644
--- a/data/pluma-bugreport.sh.in
+++ b/data/pluma-bugreport.sh.in
@@ -17,18 +17,18 @@ echo_padded ()
done
}
-#if (which mateconftool-2 >/dev/null)
-#then
-# echo "MateConf configuration dump:"
-# mateconftool-2 --dump /apps/pluma | grep -Ev "</?(entry|mateconfentryfile|entrylist|value|schema_key)" | cut -c4-
-# echo
-#fi
+if (which gsettings >/dev/null)
+then
+ echo "GSettings configuration dump:"
+ gsettings list-recursively org.mate.pluma
+ echo
+fi
-echo "Active plugins:"
-mateconftool-2 --get /apps/pluma/plugins/active-plugins \
- | sed -r -e 's/^\[(.*)\]$/\1/' -e 's/,/\n/g' \
- | sed -e 's/^.*$/ - \0/'
-echo
+#echo "Active plugins:"
+#mateconftool-2 --get /apps/pluma/plugins/active-plugins \
+# | sed -r -e 's/^\[(.*)\]$/\1/' -e 's/,/\n/g' \
+# | sed -e 's/^.*$/ - \0/'
+#echo
# Manually installed plugins (in $HOME)
if [ -d $HOME/.config/pluma/plugins ]
diff --git a/data/pluma.schemas.in.in b/data/pluma.schemas.in.in
deleted file mode 100644
index 6b0072ad..00000000
--- a/data/pluma.schemas.in.in
+++ /dev/null
@@ -1,537 +0,0 @@
-<mateconfschemafile>
- <schemalist>
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/font/use_default_font</key>
- <applyto>/apps/pluma/preferences/editor/font/use_default_font</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Use Default Font</short>
- <long>Whether to use the system's default fixed width font for editing
- text instead of a font specific to pluma. If this option is turned
- off, then the font named in the "Editor Font" option will be
- used instead of the system font.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/font/editor_font</key>
- <applyto>/apps/pluma/preferences/editor/font/editor_font</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <locale name="C">
- <default><!-- Translators: This is the Editor Font.
- This is a Pango font-->Monospace 12</default>
- <short>Editor Font</short>
- <long>A custom font that will be used for the editing area.
- This will only take effect if the "Use Default Font" option is
- turned off.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/colors/scheme</key>
- <applyto>/apps/pluma/preferences/editor/colors/scheme</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <default>tango</default>
- <locale name="C">
- <short>Style Scheme</short>
- <long>The ID of a GtkSourceView Style Scheme used to
- color the text.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/save/create_backup_copy</key>
- <applyto>/apps/pluma/preferences/editor/save/create_backup_copy</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Create Backup Copies</short>
- <long>Whether pluma should create backup copies for the files
- it saves. You can set the backup file extension with the
- "Backup Copy Extension" option.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/save/auto_save</key>
- <applyto>/apps/pluma/preferences/editor/save/auto_save</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Autosave</short>
- <long>Whether pluma should automatically save modified files
- after a time interval. You can set the time interval with the
- "Autosave Interval" option.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/save/auto_save_interval</key>
- <applyto>/apps/pluma/preferences/editor/save/auto_save_interval</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>10</default>
- <locale name="C">
- <short>Autosave Interval</short>
- <long>Number of minutes after which pluma will automatically
- save modified files. This will only take effect if the "Autosave"
- option is turned on.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/undo/undo_actions_limit</key>
- <applyto>/apps/pluma/preferences/editor/undo/undo_actions_limit</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>25</default>
- <locale name="C">
- <short>Undo Actions Limit (DEPRECATED)</short>
- <long>Maximum number of actions that pluma will be able to
- undo or redo. Use "-1" for unlimited number of actions.
- Deprecated since 2.12.0</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/undo/max_undo_actions</key>
- <applyto>/apps/pluma/preferences/editor/undo/max_undo_actions</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>2000</default>
- <locale name="C">
- <short>Maximum Number of Undo Actions</short>
- <long>Maximum number of actions that pluma will be able to
- undo or redo. Use "-1" for unlimited number of actions.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/wrap_mode/wrap_mode</key>
- <applyto>/apps/pluma/preferences/editor/wrap_mode/wrap_mode</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <default>GTK_WRAP_WORD</default>
- <locale name="C">
- <short>Line Wrapping Mode</short>
- <long>Specifies how to wrap long lines in the editing area.
- Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for
- wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping
- at individual character boundaries. Note that the values are
- case-sensitive, so make sure they appear exactly as mentioned
- here.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/tabs/tabs_size</key>
- <applyto>/apps/pluma/preferences/editor/tabs/tabs_size</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>4</default>
- <locale name="C">
- <short>Tab Size</short>
- <long>Specifies the number of spaces that should be displayed
- instead of Tab characters.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/tabs/insert_spaces</key>
- <applyto>/apps/pluma/preferences/editor/tabs/insert_spaces</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Insert spaces</short>
- <long>Whether pluma should insert spaces instead of tabs.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/auto_indent/auto_indent</key>
- <applyto>/apps/pluma/preferences/editor/auto_indent/auto_indent</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Automatic indent</short>
- <long>Whether pluma should enable automatic indentation.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/line_numbers/display_line_numbers</key>
- <applyto>/apps/pluma/preferences/editor/line_numbers/display_line_numbers</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Display Line Numbers</short>
- <long>Whether pluma should display line numbers in the editing
- area.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/current_line/highlight_current_line</key>
- <applyto>/apps/pluma/preferences/editor/current_line/highlight_current_line</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Highlight Current Line</short>
- <long>Whether pluma should highlight the current line.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/bracket_matching/bracket_matching</key>
- <applyto>/apps/pluma/preferences/editor/bracket_matching/bracket_matching</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Highlight Matching Bracket</short>
- <long>Whether pluma should highlight the bracket matching the selected one.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/right_margin/display_right_margin</key>
- <applyto>/apps/pluma/preferences/editor/right_margin/display_right_margin</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Display Right Margin</short>
- <long>Whether pluma should display the right margin in the editing
- area.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/right_margin/right_margin_position</key>
- <applyto>/apps/pluma/preferences/editor/right_margin/right_margin_position</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>80</default>
- <locale name="C">
- <short>Right Margin Position</short>
- <long>Specifies the position of the right margin.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/smart_home_end/smart_home_end</key>
- <applyto>/apps/pluma/preferences/editor/smart_home_end/smart_home_end</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <default>after</default>
- <locale name="C">
- <short>Smart Home End</short>
- <long>Specifies how the cursor moves when the HOME and END keys
- are pressed. Use "DISABLED" to always move at the start/end of
- the line, "AFTER" to move to the start/end of the line the first
- time the keys are pressed and to the start/end of the text ignoring
- whitespaces the second time the keys are pressed, "BEFORE" to
- move to the start/end of the text before moving to the start/end
- of the line and "ALWAYS" to always move to the start/end of the
- text instead of the start/end of the line.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/toolbar/toolbar_visible</key>
- <applyto>/apps/pluma/preferences/ui/toolbar/toolbar_visible</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Toolbar is Visible</short>
- <long>Whether the toolbar should be visible in editing windows.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/toolbar/toolbar_buttons_style</key>
- <applyto>/apps/pluma/preferences/ui/toolbar/toolbar_buttons_style</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <default>@TOOLBAR_STYLE@</default>
- <locale name="C">
- <short>Toolbar Buttons Style</short>
- <long>Style for the toolbar buttons. Possible values are
- "PLUMA_TOOLBAR_SYSTEM" to use the system's default style,
- "PLUMA_TOOLBAR_ICONS" to display icons only,
- "PLUMA_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and
- "PLUMA_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons.
- Note that the values are case-sensitive, so make sure they
- appear exactly as mentioned here.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/statusbar/statusbar_visible</key>
- <applyto>/apps/pluma/preferences/ui/statusbar/statusbar_visible</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Status Bar is Visible</short>
- <long>Whether the status bar at the bottom of editing windows
- should be visible.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/side_pane/side_pane_visible</key>
- <applyto>/apps/pluma/preferences/ui/side_pane/side_pane_visible</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Side Pane is Visible</short>
- <long>Whether the side pane at the left of editing windows
- should be visible.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/bottom_panel/bottom_panel_visible</key>
- <applyto>/apps/pluma/preferences/ui/bottom_panel/bottom_panel_visible</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Bottom Panel is Visible</short>
- <long>Whether the bottom panel at the bottom of editing windows
- should be visible.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/page/print_syntax_highlighting</key>
- <applyto>/apps/pluma/preferences/print/page/print_syntax_highlighting</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Print Syntax Highlighting</short>
- <long>Whether pluma should print syntax highlighting when
- printing documents.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/page/print_header</key>
- <applyto>/apps/pluma/preferences/print/page/print_header</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Print Header</short>
- <long>Whether pluma should include a document header when
- printing documents.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/page/print_wrap_mode</key>
- <applyto>/apps/pluma/preferences/print/page/print_wrap_mode</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <default>GTK_WRAP_WORD</default>
- <locale name="C">
- <short>Printing Line Wrapping Mode</short>
- <long>Specifies how to wrap long lines for printing. Use
- "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping
- at word boundaries, and "GTK_WRAP_CHAR" for wrapping at
- individual character boundaries. Note that the values are
- case-sensitive, so make sure they appear exactly as mentioned
- here.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/page/print_line_numbers</key>
- <applyto>/apps/pluma/preferences/print/page/print_line_numbers</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>0</default>
- <locale name="C">
- <short>Print Line Numbers</short>
- <long>If this value is 0, then no line numbers will be
- inserted when printing a document. Otherwise, pluma will
- print line numbers every such number of lines.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/fonts/print_font_body_pango</key>
- <applyto>/apps/pluma/preferences/print/fonts/print_font_body_pango</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <locale name="C">
- <default><!-- Translators: This is the Body font for printing.
- This is a Pango font.-->Monospace 9</default>
- <short>Body Font for Printing</short>
- <long>Specifies the font to use for a document's body when
- printing documents.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/fonts/print_font_header_pango</key>
- <applyto>/apps/pluma/preferences/print/fonts/print_font_header_pango</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <locale name="C">
- <default><!-- Translators: This is the Header font for printing.
- This is a Pango font.-->Sans 11</default>
- <short>Header Font for Printing</short>
- <long>Specifies the font to use for page headers when printing
- a document. This will only take effect if the "Print Header"
- option is turned on.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/print/fonts/print_font_numbers_pango</key>
- <applyto>/apps/pluma/preferences/print/fonts/print_font_numbers_pango</applyto>
- <owner>pluma</owner>
- <type>string</type>
- <locale name="C">
- <default><!-- Translators: This is the Line Number font for printing.
- This is a Pango font.-->Sans 8</default>
- <short>Line Number Font for Printing</short>
- <long>Specifies the font to use for line numbers when
- printing. This will only take effect if the "Print Line
- Numbers" option is non-zero.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/ui/recents/max_recents</key>
- <applyto>/apps/pluma/preferences/ui/recents/max_recents</applyto>
- <owner>pluma</owner>
- <type>int</type>
- <default>5</default>
- <locale name="C">
- <short>Maximum Recent Files</short>
- <long>Specifies the maximum number of recently opened files
- that will be displayed in the "Recent Files" submenu.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/encodings/auto_detected</key>
- <applyto>/apps/pluma/preferences/encodings/auto_detected</applyto>
- <owner>pluma</owner>
- <type>list</type>
- <list_type>string</list_type>
- <locale name="C">
- <default><!-- Translators: This is the sorted list of encodings used by pluma
- for automatic detection of the file encoding. You may want to customize it adding
- encodings that are common in your country, for instance the GB18030 encoding
- for the Chinese translation. You may also want to remove the ISO-8859-15 encoding
- (covering English and most Western European languages) if you think people
- in you country will rarely use it.
- "CURRENT" is a magic value used by pluma and it represents the encoding
- for the current locale, so please don't translate the "CURRENT" term.
- Only recognized encodings are used.
- See http://svn.gnome.org/viewcvs/pluma/trunk/pluma/pluma-encodings.c?view=markup for
- a list of supported encodings -->[UTF-8,CURRENT,ISO-8859-15,UTF-16]</default>
- <short>Automatically Detected Encodings</short>
- <long>Sorted list of encodings used by pluma for automatically detecting the encoding of
- a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/encodings/shown_in_menu</key>
- <applyto>/apps/pluma/preferences/encodings/shown_in_menu</applyto>
- <owner>pluma</owner>
- <type>list</type>
- <list_type>string</list_type>
- <locale name="C">
- <default><!-- Translators: This is the list of encodings shown by default in the Character Encoding
- menu in open/save file selector. Only recognized encodings are displayed.-->[ISO-8859-15]</default>
- <short>Encodings shown in menu</short>
- <long>List of encodings shown in the Character Encoding menu in open/save file selector.
- Only recognized encodings are used.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/syntax_highlighting/enable</key>
- <applyto>/apps/pluma/preferences/syntax_highlighting/enable</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Enable Syntax Highlighting</short>
- <long>Whether pluma should enable syntax highlighting.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/plugins/active-plugins</key>
- <applyto>/apps/pluma/plugins/active-plugins</applyto>
- <owner>pluma</owner>
- <type>list</type>
- <list_type>string</list_type>
- <default>[@ACTIVE_PLUGINS@]</default>
- <locale name="C">
- <short>Active plugins</short>
- <long>List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining
- the "Location" of a given plugin.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/save/writable_vfs_schemes</key>
- <applyto>/apps/pluma/preferences/editor/save/writable_vfs_schemes</applyto>
- <owner>pluma</owner>
- <type>list</type>
- <list_type>string</list_type>
- <default>[dav,davs,ftp,sftp,smb,ssh]</default>
- <locale name="C">
- <short>Writable VFS schemes</short>
- <long>List of VFS schemes pluma supports in write mode. The 'file' scheme
- is writable by default.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/cursor_position/restore_cursor_position</key>
- <applyto>/apps/pluma/preferences/editor/cursor_position/restore_cursor_position</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Restore Previous Cursor Position</short>
- <long>Whether pluma should restore the previous cursor position when a file is loaded.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/pluma/preferences/editor/search_highlighting/enable</key>
- <applyto>/apps/pluma/preferences/editor/search_highlighting/enable</applyto>
- <owner>pluma</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Enable Search Highlighting</short>
- <long>Whether pluma should highlight all the occurrences of the searched text.</long>
- </locale>
- </schema>
-
- </schemalist>
-</mateconfschemafile>