aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-05-25 01:37:02 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-06-23 08:06:48 +0800
commit64bc15de3f1dcbd68243f0544d0514ef341534b4 (patch)
treed235fb35cabbfca68871d65a7b4d33561c65dbb6
parent43a4f898f770c95987becfa2e96a270b756a059e (diff)
downloadgsoc2013-epiphany-64bc15de3f1dcbd68243f0544d0514ef341534b4.tar.gz
gsoc2013-epiphany-64bc15de3f1dcbd68243f0544d0514ef341534b4.tar.zst
gsoc2013-epiphany-64bc15de3f1dcbd68243f0544d0514ef341534b4.zip
popup-commands: use EPHY_DOWNLOAD_ACTION_DO_NOTHING
Stop downloaded backgrounds from popping an image viewer instance. https://bugzilla.gnome.org/show_bug.cgi?id=676128
-rw-r--r--src/popup-commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index e403e967a..939d6e31b 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -340,6 +340,7 @@ popup_cmd_set_image_as_background (GtkAction *action,
dest_uri = g_filename_to_uri (dest, NULL, NULL);
ephy_download_set_destination_uri (download, dest_uri);
+ ephy_download_set_action (download, EPHY_DOWNLOAD_ACTION_DO_NOTHING);
g_signal_connect (download, "completed",
G_CALLBACK (background_download_completed), window);