From 71bb5c11d290d5762d14a705aee825b6411e669c Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 13 Mar 2013 19:39:46 +0100 Subject: ephy-download-test: do nothing when the download is finished We don't want the default action to run, which in this case is to fire GEdit with the dummy file we are downloading. https://bugzilla.gnome.org/show_bug.cgi?id=695782 --- tests/ephy-download-test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ephy-download-test.c') diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index d2b986319..98ab2b119 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -151,6 +151,7 @@ test_ephy_download_start (Fixture *fixture, gconstpointer data) g_signal_connect (G_OBJECT (fixture->download), "completed", G_CALLBACK (completed_cb), fixture); + ephy_download_set_action (fixture->download, EPHY_DOWNLOAD_ACTION_DO_NOTHING); ephy_download_start (fixture->download); g_main_loop_run (fixture->loop); } -- cgit v1.2.3