summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-03 14:38:36 +0200
committerJasmine Hassan <[email protected]>2012-12-03 14:50:29 +0200
commitc337d8947f2e0e13d87e415760de57fecdb81389 (patch)
tree51b6eba31eb564588bce0367134b757feace3c6d
parent52f00cf99c112181dd62612bb294531457b6036b (diff)
downloadmate-desktop-c337d8947f2e0e13d87e415760de57fecdb81389.tar.bz2
mate-desktop-c337d8947f2e0e13d87e415760de57fecdb81389.tar.xz
[mate-bg|schema] add "background-fade" setting, and define the key in header
to make the fading effect optional, either when caja or m-s-d is drawing the bg. This is hopefully useful for those running on older hardware, as the fading effect could delay login/startup a bit. For reference, see: https://bugzilla.gnome.org/show_bug.cgi?id=623174
-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>