[epiphany] popup-commands: use EPHY_DOWNLOAD_ACTION_DO_NOTHING



commit 64bc15de3f1dcbd68243f0544d0514ef341534b4
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Thu May 24 12:37:02 2012 -0500

    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

 src/popup-commands.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/popup-commands.c b/src/popup-commands.c
index e403e96..939d6e3 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);



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