mirror of
https://github.com/johnfactotum/foliate.git
synced 2026-05-16 14:55:08 -04:00
It's just too buggy. Some of the time it works great, but it doesn't seem to be sizing the page correctly in some cases. Removing it for now. Breaks #257
292 lines
12 KiB
XML
292 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schemalist gettext-domain="com.github.johnfactotum.Foliate">
|
|
<enum id="com.github.johnfactotum.Foliate.ViewMode">
|
|
<value nick="grid" value="0"/>
|
|
<value nick="list" value="1"/>
|
|
</enum>
|
|
<enum id="com.github.johnfactotum.Foliate.Layout">
|
|
<value nick="auto" value="0"/>
|
|
<value nick="single" value="1"/>
|
|
<value nick="scrolled" value="2"/>
|
|
<value nick="continuous" value="3"/>
|
|
</enum>
|
|
<enum id="com.github.johnfactotum.Foliate.OpdsAction">
|
|
<value nick="auto" value="0"/>
|
|
<value nick="ask" value="1"/>
|
|
</enum>
|
|
<schema id="com.github.johnfactotum.Foliate" path="/com/github/johnfactotum/Foliate/">
|
|
<child schema="com.github.johnfactotum.Foliate.library" name="library"/>
|
|
<child schema="com.github.johnfactotum.Foliate.window-state" name="window-state"/>
|
|
<child schema="com.github.johnfactotum.Foliate.view" name="view"/>
|
|
<key name="store-uris" type="b">
|
|
<default>true</default>
|
|
<summary>Store URIs</summary>
|
|
<description>Whether to save file URIs</description>
|
|
</key>
|
|
<key name="cache-locations" type="b">
|
|
<default>true</default>
|
|
<summary>Cache locations</summary>
|
|
<description>Whether to save generated locations to cache (the locations are needed for calculating percentages of locations in book)</description>
|
|
</key>
|
|
<key name="cache-covers" type="b">
|
|
<default>true</default>
|
|
<summary>Cache covers</summary>
|
|
<description>Whether to save book covers to cache</description>
|
|
</key>
|
|
<key name="cache-covers-size" type="i">
|
|
<default>256</default>
|
|
<summary>Cover size</summary>
|
|
<description>Width of cached book cover images</description>
|
|
</key>
|
|
<key name="restore-last-file" type="b">
|
|
<default>true</default>
|
|
<summary>Restore last file opened</summary>
|
|
<description>Whether to automatically restore the last file</description>
|
|
</key>
|
|
<key name="highlight" type="s">
|
|
<default>'yellow'</default>
|
|
<summary>Default highlight color</summary>
|
|
<description>Default highlight color for annotations</description>
|
|
</key>
|
|
<key name="dictionary" type="s">
|
|
<default>'wiktionary'</default>
|
|
<summary>Dictionary</summary>
|
|
<description>Identifier of the default dictionary. Dictionaries from dictd and stardict, if any, are available with the "dictd_" and "stardict_" prefix added to the database ID</description>
|
|
</key>
|
|
<key name="translate-target-language" type="s">
|
|
<default>'en'</default>
|
|
<summary>Target language of translation</summary>
|
|
<description>Target language for translations</description>
|
|
</key>
|
|
<key name="selection-action-single" type="s">
|
|
<default>'menu'</default>
|
|
<summary>Default action when selecting a word</summary>
|
|
<description>Default action to perform when selecting a single word</description>
|
|
</key>
|
|
<key name="selection-action-multiple" type="s">
|
|
<default>'menu'</default>
|
|
<summary>Default action when selecting multiple words</summary>
|
|
<description>Default action to perform when selecting multiple words</description>
|
|
</key>
|
|
<key name="img-event-type" type="s">
|
|
<default>'click'</default>
|
|
<summary>Event for opening image viewer</summary>
|
|
<description>DOM event type for viewing images; the special value "middleclick" is available for the middle click event</description>
|
|
</key>
|
|
<key name="tts-command" type="s">
|
|
<default>''</default>
|
|
<summary>Text-to-speech command</summary>
|
|
<description>Command to execute for text-to-speech</description>
|
|
</key>
|
|
<key name="use-sidebar" type="b">
|
|
<default>false</default>
|
|
<summary>Use sidebar</summary>
|
|
<description>If true, a side pane will be used instead of popovers</description>
|
|
</key>
|
|
<key name="use-menubar" type="b">
|
|
<default>false</default>
|
|
<summary>Use menubar</summary>
|
|
<description>If true, use traditional titlebars and menubars</description>
|
|
</key>
|
|
<key name="autohide-headerbar" type="b">
|
|
<default>true</default>
|
|
<summary>Auto-hide headerbar</summary>
|
|
<description>Whether to hide the headerbar automatically (this setting has no effect if skeuomorphism or sidebar is enabled)</description>
|
|
</key>
|
|
<key name="footer-left" type="s">
|
|
<default>'location'</default>
|
|
<summary>Left footer</summary>
|
|
<description>Information to be displayed on the left footer</description>
|
|
</key>
|
|
<key name="footer-right" type="s">
|
|
<default>'section-name'</default>
|
|
<summary>Right footer</summary>
|
|
<description>Information to be displayed on the right footer</description>
|
|
</key>
|
|
<key name="turn-page-on-tap" type="b">
|
|
<default>true</default>
|
|
<summary>Turn page on tap</summary>
|
|
<description>If true, you can go to the previous or next page by tapping on the left or right part of the view; tap on the middle to toggle header bar and progress bar</description>
|
|
</key>
|
|
</schema>
|
|
<schema id="com.github.johnfactotum.Foliate.view"
|
|
path="/com/github/johnfactotum/Foliate/view/">
|
|
<key name="prefer-dark-theme" type="b">
|
|
<default>false</default>
|
|
<summary>Prefer dark GTK theme</summary>
|
|
<description>If true, the dark variant of a GTK theme, if available, will be used</description>
|
|
</key>
|
|
<key name="zoom-level" type="d">
|
|
<default>1</default>
|
|
<summary>Zoom level</summary>
|
|
<description>Zoom level</description>
|
|
</key>
|
|
<key name="font" type="s">
|
|
<default>'Serif 12'</default>
|
|
<summary>Font</summary>
|
|
<description>Font</description>
|
|
</key>
|
|
<key name="spacing" type="d">
|
|
<default>1.5</default>
|
|
<summary>Spacing</summary>
|
|
<description>Line-height</description>
|
|
</key>
|
|
<key name="margin" type="i">
|
|
<default>40</default>
|
|
<summary>Margin</summary>
|
|
<description>Page margin in pixels</description>
|
|
</key>
|
|
<key name="max-width" type="i">
|
|
<default>1400</default>
|
|
<summary>Max width</summary>
|
|
<description>Maximum page width</description>
|
|
</key>
|
|
<key name="use-publisher-font" type="b">
|
|
<default>false</default>
|
|
<summary>Use publisher font</summary>
|
|
<description>If true, custom font is disabled</description>
|
|
</key>
|
|
<key name="justify" type="b">
|
|
<default>true</default>
|
|
<summary>Justify text</summary>
|
|
<description>If true, text will be justified</description>
|
|
</key>
|
|
<key name="hyphenate" type="b">
|
|
<default>true</default>
|
|
<summary>Hyphenation</summary>
|
|
<description>If true, auto-hyphenation is enabled</description>
|
|
</key>
|
|
<key name="fg-color" type="s">
|
|
<default>'black'</default>
|
|
<summary>Foreground color</summary>
|
|
<description>Text color</description>
|
|
</key>
|
|
<key name="bg-color" type="s">
|
|
<default>'white'</default>
|
|
<summary>Background color</summary>
|
|
<description>Background color</description>
|
|
</key>
|
|
<key name="link-color" type="s">
|
|
<default>'link'</default>
|
|
<summary>Link color</summary>
|
|
<description>Link color</description>
|
|
</key>
|
|
<key name="invert" type="b">
|
|
<default>false</default>
|
|
<summary>Invert</summary>
|
|
<description>Invert page</description>
|
|
</key>
|
|
<key name="brightness" type="d">
|
|
<default>1</default>
|
|
<summary>Brightness</summary>
|
|
<description>A value under 1 darkens the page, while a value over 1 brightens it. A value of 0 will make the page completely black, while a value of 1 leaves the brightness unchanged</description>
|
|
</key>
|
|
<key name="enable-footnote" type="b">
|
|
<default>true</default>
|
|
<summary>Footnote preview</summary>
|
|
<description>If true, will attempt to display footnotes in a popover</description>
|
|
</key>
|
|
<key name="allow-unsafe" type="b">
|
|
<default>false</default>
|
|
<summary>Allow unsafe content</summary>
|
|
<description>If true, allow JavaScript</description>
|
|
</key>
|
|
<key name="enable-devtools" type="b">
|
|
<default>false</default>
|
|
<summary>Enable developer tools</summary>
|
|
<description>If true, developer tools are enabled</description>
|
|
</key>
|
|
<key name="layout" enum="com.github.johnfactotum.Foliate.Layout">
|
|
<default>'auto'</default>
|
|
<summary>Layout</summary>
|
|
<description>Page layout</description>
|
|
</key>
|
|
<key name="skeuomorphism" type="b">
|
|
<default>false</default>
|
|
<summary>Skeuomorphism</summary>
|
|
<description>If true, the book is decoratively presented in a way that resembles physical books</description>
|
|
</key>
|
|
<key name="autohide-cursor" type="b">
|
|
<default>false</default>
|
|
<summary>Auto-hide cursor</summary>
|
|
<description>Whether to hide the cursor automatically</description>
|
|
</key>
|
|
</schema>
|
|
<schema id="com.github.johnfactotum.Foliate.window-state"
|
|
path="/com/github/johnfactotum/Foliate/window-state/">
|
|
<key name="width" type="i">
|
|
<default>960</default>
|
|
<summary>Window width</summary>
|
|
<description>Width of the window</description>
|
|
</key>
|
|
<key name="height" type="i">
|
|
<default>640</default>
|
|
<summary>Window height</summary>
|
|
<description>Height of the window</description>
|
|
</key>
|
|
<key name="maximized" type="b">
|
|
<default>false</default>
|
|
<summary>Maximized</summary>
|
|
<description>Whether the window is maximized</description>
|
|
</key>
|
|
<key name="fullscreen" type="b">
|
|
<default>false</default>
|
|
<summary>Fullscreen</summary>
|
|
<description>Whether the window is fullscreen</description>
|
|
</key>
|
|
<key name="last-file" type="s">
|
|
<default>''</default>
|
|
<summary>Last file opened</summary>
|
|
<description>Last file opened</description>
|
|
</key>
|
|
<key name="show-sidebar" type="b">
|
|
<default>true</default>
|
|
<summary>Show sidebar</summary>
|
|
<description>Whether the sidebar is shown</description>
|
|
</key>
|
|
<key name="sidebar-size" type="i">
|
|
<default>240</default>
|
|
<summary>Sidebar size</summary>
|
|
<description>Sidebar width</description>
|
|
</key>
|
|
</schema>
|
|
<schema id="com.github.johnfactotum.Foliate.library"
|
|
path="/com/github/johnfactotum/Foliate/library/">
|
|
<key name="width" type="i">
|
|
<default>800</default>
|
|
<summary>Window width</summary>
|
|
<description>Width of the library window</description>
|
|
</key>
|
|
<key name="height" type="i">
|
|
<default>600</default>
|
|
<summary>Window height</summary>
|
|
<description>Height of the library window</description>
|
|
</key>
|
|
<key name="maximized" type="b">
|
|
<default>false</default>
|
|
<summary>Maximized</summary>
|
|
<description>Whether the library window is maximized</description>
|
|
</key>
|
|
<key name="view-mode" enum="com.github.johnfactotum.Foliate.ViewMode">
|
|
<default>'grid'</default>
|
|
<summary>View</summary>
|
|
<description>How to view the library</description>
|
|
</key>
|
|
<key name="page" type="s">
|
|
<default>'library'</default>
|
|
<summary>Library page</summary>
|
|
<description>Current library page (“library” or “catalog”)</description>
|
|
</key>
|
|
<key name="use-tracker" type="b">
|
|
<default>true</default>
|
|
<summary>Use Tracker</summary>
|
|
<description>If true, will try to use Tracker (the file indexer) to get file locations</description>
|
|
</key>
|
|
<key name="opds-action" enum="com.github.johnfactotum.Foliate.OpdsAction">
|
|
<default>'auto'</default>
|
|
<summary>OPDS download action</summary>
|
|
<description>What to do when downloading a file from an OPDS feed</description>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|