[gnote] Add GSettings schema.



commit 257bcee37d8a5648b1e9ed92bf11642034e6b4b6
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Mon Jun 20 23:09:19 2011 +0300

    Add GSettings schema.

 data/org.gnome.gnote.gschema.xml.in |  204 +++++++++++++++++++++++++++++++++++
 1 files changed, 204 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.gnote.gschema.xml.in b/data/org.gnome.gnote.gschema.xml.in
new file mode 100644
index 0000000..cc836c7
--- /dev/null
+++ b/data/org.gnome.gnote.gschema.xml.in
@@ -0,0 +1,204 @@
+<schemalist>
+  <schema id="org.gnome.gnote" path="/org/gnome/gnote/">
+    <key name="enable-spellchecking" type="b">
+      <default>true</default>
+      <_summary>Enable spellchecking</_summary>
+      <_description>If true, misspellings will be underlined in red, and correct spelling suggestions shown in the right-click menu.</_description>
+    </key>
+    <key name="enable-wikiwords" type="b">
+      <default>false</default>
+      <_summary>Enable WikiWord highlighting</_summary>
+      <_description>Enable this option to highlight words ThatLookLikeThis. Clicking the word will create a note with that name.</_description>
+    </key>
+    <key name="enable-bulleted-lists" type="b">
+      <default>true</default>
+      <_summary>Enable Auto bulleted lists</_summary>
+      <_description>Enable this option if you want bulleted lists to be automatic when you place - or * at the beginning of a line.</_description>
+    </key>
+    <key name="enable-icon-paste" type="b">
+      <default>false</default>
+      <_summary>Enable Middle-Click Paste On Icon</_summary>
+      <_description>Enable this option if you want to be able to middle-click the Gnote icon to paste timestamped content into the Start Here note.</_description>
+    </key>
+    <key name="enable-custom-font" type="b">
+      <default>false</default>
+      <_summary>Enable custom font</_summary>
+      <_description>If true, the font name set in custom_font_face will be used as the font when displaying notes. Otherwise the desktop default font will be used.</_description>
+    </key>
+    <key name="custom-font-face" type="s">
+      <default>'Serif 11'</default>
+      <_summary>Custom Font Face</_summary>
+      <_description>If enable_custom_font is true, the font name set here will be used as the font when displaying notes.</_description>
+    </key>
+    <key name="enable-keybindings" type="b">
+      <default>true</default>
+      <_summary>Enable global keybindings</_summary>
+      <_description>If true, the desktop-global keybindings set in /apps/gnote/global_keybindings will be enabled, allowing for useful Gnote actions to be available from any application.</_description>
+    </key>
+    <key name="start-note" type="s">
+      <default>''</default>
+      <_summary>Start Here Note</_summary>
+      <_description>The note URI of the note that should be considered the "Start Here" note, which is always placed at the bottom of the Gnote note menu and also accessible by hotkey.</_description>
+    </key>
+    <key name="menu-note-count" type="i">
+      <default>10</default>
+      <_summary>Minimum number of notes to show in menu</_summary>
+      <_description>Integer determining the minimum number of notes to show in the Gnote note menu.</_description>
+    </key>
+    <key name="menu-pinned-notes" type="s">
+      <default>''</default>
+      <_summary>List of pinned notes</_summary>
+      <_description>Whitespace-separated list of note URIs for notes that should always appear in the Gnote note menu.</_description>
+    </key>
+    <key name="enable-startup-notes" type="b">
+      <default>true</default>
+      <_summary>Enable startup notes</_summary>
+      <_description>If enabled, all notes that were open when Gnote quit will automatically be reopened at startup.</_description>
+    </key>
+    <key name="search-window-height" type="i">
+      <default>0</default>
+      <_summary>Saved height of Search window</_summary>
+      <_description>Determines pixel height of Search window; stored on Gnote exit.</_description>
+    </key>
+    <key name="search-window-width" type="i">
+      <default>550</default>
+      <_summary>Saved width of Search window</_summary>
+      <_description>Determines pixel width of Search window; stored on Gnote exit.</_description>
+    </key>
+    <key name="search-window-x-pos" type="i">
+      <default>0</default>
+      <_summary>Saved horizontal position of Search window</_summary>
+      <_description>Determines X coordinate of Search window; stored on Gnote exit.</_description>
+    </key>
+    <key name="search-window-y-pos" type="i">
+      <default>0</default>
+      <_summary>Saved vertical position of Search window</_summary>
+      <_description>Determines Y coordinate of Search window; stored on Gnote exit.</_description>
+    </key>
+    <key name="search-window-splitter-pos" type="i">
+      <default>150</default>
+      <_summary>Saved plitter position of Search window splitter.</_summary>
+      <_description>Determines Search window splitter position in pixels; stored on Gnote exit.</_description>
+    </key>
+    <key name="sync-fuse-mount-timeout-ms" type="i">
+      <default>10000</default>
+      <_summary>FUSE Mounting Timeout (ms)</_summary>
+      <_description>Time (in milliseconds) Gnote should wait for a response when using FUSE to mount a sync share.</_description>
+    </key>
+    <key name="sync-sshfs-folder" type="s">
+      <default>''</default>
+      <_summary>SSHFS Remote Synchronization Folder</_summary>
+      <_description>Path on SSH server to Gnote synchronization directory (optional).</_description>
+    </key>
+    <key name="sync-sshfs-server" type="s">
+      <default>''</default>
+      <_summary>SSHFS Synchronization Server URL</_summary>
+      <_description>URL of SSH server containing Gnote synchronization directory.</_description>
+    </key>
+    <key name="sync-sshfs-username" type="s">
+      <default>''</default>
+      <_summary>SSHFS Remote Synchronization User Name</_summary>
+      <_description>User name to use when connecting to the synchronization server via SSH.</_description>
+    </key>
+    <key name="sync-sshfs-port" type="i">
+      <default>22</default>
+      <_summary>SSHFS Synchronization Server Port</_summary>
+      <_description>The port to use when connecting to the synchronization server via SSH.</_description>
+    </key>
+    <key name="note-rename-behavior" type="i">
+      <default>0</default>
+      <_summary>Link Updating Behavior on Note Rename</_summary>
+      <_description>Integer value indicating if there is a preference to always perform a specific link updating behavior when a note is renamed, instead of prompting the user. The values map to an internal enumeration. 0 indicates that the user wishes to be prompted when renaming a note may impact links that exist in other notes. 1 indicates that links should automatically be removed. 2 indicates that link text should be updated to the new note name so that it will continue linking to the renamed note.</_description>
+    </key>
+    <key name="enable-close-note-on-escape" type="b">
+      <default>true</default>
+      <_summary>Enable closing notes with escape</_summary>
+      <_description>If enabled, an opened note can be closed by hitting the escape key.</_description>
+    </key>
+    <child name="global-keybindings" schema="org.gnome.gnote.global-keybindings" />
+    <child name="export-html" schema="org.gnome.gnote.export-html" />
+    <child name="sync" schema="org.gnome.gnote.sync" />
+    <child name="insert-timestamp" schema="org.gnome.gnote.insert-timestamp" />
+  </schema>
+  <schema id="org.gnome.gnote.global-keybindings" path="/org/gnome/gnote/global-keybindings/">
+    <key name="show-note-menu" type="s">
+      <default>'&lt;Alt&gt;F12'</default>
+      <_summary>Show applet menu</_summary>
+      <_description>The global keybinding for showing the Gnote applet's menu. The format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;". If you set the option to the special string "disabled", then there will be no keybinding for this action.</_description>
+    </key>
+    <key name="open-start-here" type="s">
+      <default>'&lt;Alt&gt;F11'</default>
+      <_summary>Open Start Here</_summary>
+      <_description>The global keybinding for opening the "Start Here" note. The format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;". If you set the option to the special string "disabled", then there will be no keybinding for this action.</_description>
+    </key>
+    <key name="create-new-note" type="s">
+      <default>'disabled'</default>
+      <_summary>Create a new Note</_summary>
+      <_description>The global keybinding for creating and displaying a new Note. The format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;". If you set the option to the special string "disabled", then there will be no keybinding for this action.</_description>
+    </key>
+    <key name="open-search" type="s">
+      <default>'disabled'</default>
+      <_summary>Open Search Dialog</_summary>
+      <_description>The global keybinding for opening the Note Search dialog. The format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;". If you set the option to the special string "disabled", then there will be no keybinding for this action.</_description>
+    </key>
+    <key name="open-recent-changes" type="s">
+      <default>'disabled'</default>
+      <_summary>Open Recent Changes</_summary>
+      <_description>The global keybinding for opening the Recent Changes dialog. The format looks like "&lt;Control&gt;a" or "&lt;Shift&gt;&lt;Alt&gt;F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "&lt;Ctl&gt;" and "&lt;Ctrl&gt;". If you set the option to the special string "disabled", then there will be no keybinding for this action.</_description>
+    </key>
+  </schema>
+  <schema id="org.gnome.gnote.export-html" path="/org/gnome/gnote/export-html/">
+    <key name="last-directory" type="s">
+      <default>''</default>
+      <_summary>HTML Export Last Directory</_summary>
+      <_description>The last directory a note was exported to using the Export To HTML plugin.</_description>
+    </key>
+    <key name="export-linked" type="b">
+      <default>true</default>
+      <_summary>HTML Export Linked Notes</_summary>
+      <_description>The last setting for the 'Export linked notes' checkbox in the Export to HTML plugin.</_description>
+    </key>
+    <key name="export-linked-all" type="b">
+      <default>false</default>
+      <_summary>HTML Export All Linked Notes</_summary>
+      <_description>The last setting for the 'Include all other linked notes' checkbox in the Export to HTML plugin. This setting is used in conjunction with the 'HTML Export Linked Notes' setting and is used to specify whether all notes (found recursively) should be included during an export to HTML.</_description>
+    </key>
+  </schema>
+  <schema id="org.gnome.gnote.sync" path="/org/gnome/gnote/sync/">
+    <key name="sync-guid" type="s">
+      <default>''</default>
+      <_summary>Synchronization Client ID</_summary>
+      <_description>Unique identifier for this Gnote client, used when communicating with a sychronization server.</_description>
+    </key>
+    <key name="sync-local-path" type="s">
+      <default>''</default>
+      <_summary>Synchronization Local Server Path</_summary>
+      <_description>Path to the synchronization server when using the filesystem synchronization service addin.</_description>
+    </key>
+    <key name="sync-selected-service-addin" type="s">
+      <default>''</default>
+      <_summary>Selected Synchronization Service Addin</_summary>
+      <_description>Unique identifier for the currently configured note synchronization service addin.</_description>
+    </key>
+    <key name="sync-conflict-behavior" type="i">
+      <default>0</default>
+      <_summary>Note Synchronization Conflict Saved Behavior</_summary>
+      <_description>Integer value indicating if there is a preference to always perform a specific behavior when a conflict is detected, instead of prompting the user. The values map to an internal enumeration. 0 indicates that the user wishes to be prompted when a conflict occurs, so that they may handle each conflict situation on a case-by-case basis.</_description>
+    </key>
+    <child name="wdfs" schema="org.gnome.gnote.sync.wdfs" />
+  </schema>
+  <schema id="org.gnome.gnote.sync.wdfs" path="/org/gnome/gnote/sync/wdfs/">
+    <key name="accept-sslcert" type="b">
+      <default>false</default>
+      <_summary>Accept SSL Certificates</_summary>
+      <_description>Use wdfs option "-ac" to accept SSL certificates without prompting the user.</_description>
+    </key>
+  </schema>
+  <schema id="org.gnome.gnote.insert-timestamp" path="/org/gnome/gnote/insert-timestamp/">
+    <key name="format" type="s">
+      <default>'%c'</default>
+      <_summary>Timestamp format</_summary>
+      <_description>The date format that is used for the timestamp. It follows the format of strftime(3).</_description>
+    </key>
+  </schema>
+</schemalist>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]