Make it possible to disable text-highlight module with a GSettings option

Users can easily disable text-highlight module with command:

   $ gsettings set org.gnome.evolution.text-highlight enabled false

to disable default processing through this module. It's still possible
to manually format certain part with it using the 'Format as' context menu.
This commit is contained in:
Milan Crha
2018-06-19 14:44:21 +02:00
parent 48670a187f
commit e5186dcba3
3 changed files with 68 additions and 3 deletions

View File

@ -1,5 +1,9 @@
<schemalist>
<schema gettext-domain="evolution" id="org.gnome.evolution.text-highlight" path="/org/gnome/evolution/text-highlight/">
<key name="enabled" type="b">
<default>true</default>
<_summary>Whether the text-highlight module is enabled</_summary>
</key>
<key name="theme" type="s">
<default>''</default>
<_summary>Theme name to use, defaults to “bclear”</_summary>