From c337d8947f2e0e13d87e415760de57fecdb81389 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Mon, 3 Dec 2012 14:38:36 +0200 Subject: [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 --- libmate-desktop/libmateui/mate-bg.h | 3 +++ schemas/org.mate.background.gschema.xml.in.in | 5 +++++ 2 files changed, 8 insertions(+) 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 <_description>Have MATE file manager (Caja) draw the desktop icons. + + true + <_summary>Fade the background on change + <_description>If set to true, then MATE will change the desktop background with a fading effect. + 'zoom' <_summary>Picture Options -- cgit v1.2.1