From 52f00cf99c112181dd62612bb294531457b6036b Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Mon, 3 Dec 2012 14:31:54 +0200 Subject: [mate-bg] prefix defines BG_KEY's w/ MATE & move from .c to .h and define "show-desktop-icons" here too, to be used by Caja & m-s-d --- libmate-desktop/libmateui/mate-bg.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libmate-desktop/libmateui') diff --git a/libmate-desktop/libmateui/mate-bg.h b/libmate-desktop/libmateui/mate-bg.h index 8fbc230..3c8d53f 100644 --- a/libmate-desktop/libmateui/mate-bg.h +++ b/libmate-desktop/libmateui/mate-bg.h @@ -47,6 +47,19 @@ extern "C" { #define MATE_BG_SCHEMA "org.mate.background" +/* whether to draw the desktop bg */ +#define MATE_BG_KEY_DRAW_BACKGROUND "draw-background" + +/* whether Caja or mate-settings-daemon draw the desktop */ +#define MATE_BG_KEY_SHOW_DESKTOP "show-desktop-icons" + +#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" +#define MATE_BG_KEY_PICTURE_PLACEMENT "picture-options" +#define MATE_BG_KEY_PICTURE_OPACITY "picture-opacity" +#define MATE_BG_KEY_PICTURE_FILENAME "picture-filename" + typedef struct _MateBG MateBG; typedef struct _MateBGClass MateBGClass; -- cgit v1.2.1 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 +++ 1 file changed, 3 insertions(+) (limited to 'libmate-desktop/libmateui') 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" -- cgit v1.2.1