From 8e5ee4c532e32d5780f21e3c1a1894121e08d016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Wed, 9 Aug 2006 20:08:29 +0000 Subject: ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-08-09 Jean-François Rameau * src/popup-commands.c: (background_download_completed): * lib/ephy-file-helpers.h: (ephy_file_launch_desktop_file): * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. * src/ephy-window.c: Remove CONF_DESKTOP_BG_PICTURE #define. No need. --- src/popup-commands.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/popup-commands.c') 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 -- cgit v1.2.3