[nautilus] view: don't reference org.gnome.desktop.background draw-background



commit a3100a6452504c46d9462ce42eee9606c7baf8cc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Mar 18 17:19:46 2013 -0400

    view: don't reference org.gnome.desktop.background draw-background
    
    The key has been removed in gnome-desktop, and attempting to use it will
    trigger an assertion.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695958

 src/nautilus-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 074a153..2243296 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -6296,7 +6296,6 @@ action_rename_select_all_callback (GtkAction *action,
        real_action_rename (NAUTILUS_VIEW (callback_data), TRUE);
 }
 
-#define BG_KEY_DRAW_BACKGROUND    "draw-background"
 #define BG_KEY_PRIMARY_COLOR      "primary-color"
 #define BG_KEY_SECONDARY_COLOR    "secondary-color"
 #define BG_KEY_COLOR_TYPE         "color-shading-type"
@@ -6315,7 +6314,6 @@ set_uri_as_wallpaper (const char *uri)
        if (uri == NULL)
                uri = "";
 
-       g_settings_set_boolean (settings, BG_KEY_DRAW_BACKGROUND, TRUE);
        g_settings_set_string (settings, BG_KEY_PICTURE_URI, uri);
        g_settings_set_string (settings, BG_KEY_PRIMARY_COLOR, "#000000");
        g_settings_set_string (settings, BG_KEY_SECONDARY_COLOR, "#000000");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]