diff options
author | Xan Lopez <xan@igalia.com> | 2013-03-14 02:39:46 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-14 02:39:46 +0800 |
commit | 71bb5c11d290d5762d14a705aee825b6411e669c (patch) | |
tree | 73568a95e02ca526bfd5152dd26182c660b89635 | |
parent | 09f082567a909bc9369f57a2e14b28846057814e (diff) | |
download | gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar.gz gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar.bz2 gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar.lz gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar.xz gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.tar.zst gsoc2013-epiphany-71bb5c11d290d5762d14a705aee825b6411e669c.zip |
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
-rw-r--r-- | 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 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); } |