summaryrefslogtreecommitdiffstats
path: root/x11vnc/solid.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/solid.c')
-rw-r--r--x11vnc/solid.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11vnc/solid.c b/x11vnc/solid.c
index fd7424d..948fd93 100644
--- a/x11vnc/solid.c
+++ b/x11vnc/solid.c
@@ -532,6 +532,12 @@ static void solid_gnome(char *color) {
"/desktop/gnome/background/picture_options";
char set_option[] = "gconftool-2 --set "
"/desktop/gnome/background/picture_options --type string '%s'";
+#if 0
+ char get_filename[] = "gconftool-2 --get "
+ "/desktop/gnome/background/picture_filename";
+ char set_filename[] = "gconftool-2 --set "
+ "/desktop/gnome/background/picture_filename --type string '%s'";
+#endif
static char *orig_color = NULL;
static char *orig_option = NULL;
char *cmd;
@@ -607,6 +613,14 @@ static void solid_gnome(char *color) {
sprintf(cmd, set_option, "none");
dt_cmd(cmd);
free(cmd);
+
+#if 0
+ cmd = (char *) malloc(strlen(set_filename) + strlen("none") + 1);
+ sprintf(cmd, set_filename, "none");
+ dt_cmd(cmd);
+ free(cmd);
+#endif
+
#endif /* NO_X11 */
}