aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2011-10-14 18:25:34 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-10-14 18:25:34 +0800
commit3dc5ac02b4acf762c22a2f1980facdd0d01d678e (patch)
tree6b6dac0ff4818cd05f75920320a3d0e507bf2302 /data
parent3e2efde8299cda56382dfc8f3457f302048a89a6 (diff)
downloadgsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar.gz
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar.bz2
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar.lz
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar.xz
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.tar.zst
gsoc2013-evolution-3dc5ac02b4acf762c22a2f1980facdd0d01d678e.zip
Migrate prefer-plain plugin to GSettings
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/evolution.convert4
-rw-r--r--data/org.gnome.evolution.eplugin.prefer-plain.gschema.xml.in14
3 files changed, 19 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index fb4c041c23..2a8b72a680 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -23,6 +23,7 @@ gsettings_SCHEMAS = \
org.gnome.evolution.eplugin.external-editor.gschema.xml \
org.gnome.evolution.eplugin.face-picture.gschema.xml \
org.gnome.evolution.eplugin.mail-notification.gschema.xml \
+ org.gnome.evolution.eplugin.prefer-plain.gschema.xml.in \
org.gnome.evolution.eplugin.templates.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
diff --git a/data/evolution.convert b/data/evolution.convert
index 075a24a579..cb4308d0a6 100644
--- a/data/evolution.convert
+++ b/data/evolution.convert
@@ -214,5 +214,9 @@ notify-sound-beep = /apps/evolution/eplugin/mail-notification/sound-beep
notify-sound-file = /apps/evolution/eplugin/mail-notification/sound-file
notify-sound-use-theme = /apps/evolution/eplugin/mail-notification/sound-use-theme
+[org.gnome.evolution.eplugin.prefer-plain]
+mode = /apps/evolution/eplugin/prefer_plain/mode"
+show-suppressed = /apps/evolution/eplugin/prefer_plain/show_suppressed
+
[org.gnome.evolution.eplugin.templates]
template-placeholders = /apps/evolution/mail/template_placeholders
diff --git a/data/org.gnome.evolution.eplugin.prefer-plain.gschema.xml.in b/data/org.gnome.evolution.eplugin.prefer-plain.gschema.xml.in
new file mode 100644
index 0000000000..9d9b652be7
--- /dev/null
+++ b/data/org.gnome.evolution.eplugin.prefer-plain.gschema.xml.in
@@ -0,0 +1,14 @@
+<schemalist>
+ <schema gettext-domain="evolution" id="org.gnome.evolution.eplugin.prefer-plain" path="/orf/gnome/evolution/eplugin/prefer-plain/">
+ <key name="mode" type="s">
+ <default>'normal'</default>
+ <_summary>Mode to use when displaying mails</_summary>
+ <_description>The mode to use for displaying mails. "normal" makes Evolution choose the best part to show, "prefer_plain" makes it use the text part, if present, and "only_plain" forces Evolution to only show plain text</_description>
+ </key>
+ <key name="show-suppressed" type="b">
+ <default>true</default>
+ <_summary>Whether to show suppressed HTML output</_summary>
+ <_description>Whether to show suppressed HTML output</_description>
+ </key>
+ </schema>
+</schemalist>