[epiphany] ephy-download-test: do nothing when the download is finished
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-download-test: do nothing when the download is finished
- Date: Wed, 13 Mar 2013 18:40:40 +0000 (UTC)
commit 71bb5c11d290d5762d14a705aee825b6411e669c
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 13 19:39:46 2013 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index d2b9863..98ab2b1 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]