summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-desktop/libmateui/mate-bg.h3
-rw-r--r--schemas/org.mate.background.gschema.xml.in.in5
2 files changed, 8 insertions, 0 deletions
diff --git a/libmate-desktop/libmateui/mate-bg.h b/libmate-desktop/libmateui/mate-bg.h
index 3c8d53f..14f576f 100644
--- a/libmate-desktop/libmateui/mate-bg.h
+++ b/libmate-desktop/libmateui/mate-bg.h
@@ -53,6 +53,9 @@ extern "C" {
/* whether Caja or mate-settings-daemon draw the desktop */
#define MATE_BG_KEY_SHOW_DESKTOP "show-desktop-icons"
+/* whether to fade when changing background (By Caja/m-s-d) */
+#define MATE_BG_KEY_BACKGROUND_FADE "background-fade"
+
#define MATE_BG_KEY_PRIMARY_COLOR "primary-color"
#define MATE_BG_KEY_SECONDARY_COLOR "secondary-color"
#define MATE_BG_KEY_COLOR_TYPE "color-shading-type"
diff --git a/schemas/org.mate.background.gschema.xml.in.in b/schemas/org.mate.background.gschema.xml.in.in
index 78cceab..f9b4b1c 100644
--- a/schemas/org.mate.background.gschema.xml.in.in
+++ b/schemas/org.mate.background.gschema.xml.in.in
@@ -23,6 +23,11 @@
<_summary>Show Desktop Icons</_summary>
<_description>Have MATE file manager (Caja) draw the desktop icons.</_description>
</key>
+ <key name="background-fade" type="b">
+ <default>true</default>
+ <_summary>Fade the background on change</_summary>
+ <_description>If set to true, then MATE will change the desktop background with a fading effect.</_description>
+ </key>
<key name="picture-options" enum="org.mate.background.picture-options-enum">
<default>'zoom'</default>
<_summary>Picture Options</_summary>