aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 3b5f66d29..fe6579f2d 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -260,19 +260,11 @@ background_download_completed (EphyEmbedPersist *persist)
user_time = ephy_embed_persist_get_user_time (persist);
bg = ephy_embed_persist_get_dest (persist);
- eel_gconf_set_string (CONF_DESKTOP_BG_PICTURE, bg);
-
- type = eel_gconf_get_string (CONF_DESKTOP_BG_TYPE);
- if (type == NULL || strcmp (type, "none") == 0)
- {
- eel_gconf_set_string (CONF_DESKTOP_BG_TYPE, "wallpaper");
- }
- g_free (type);
g_object_unref (persist);
/* open the "Background Properties" capplet */
- ephy_file_launch_desktop_file ("background.desktop", user_time);
+ ephy_file_launch_desktop_file ("background.desktop", bg, user_time);
}
void