[epiphany] download: Browse to file if it cannot be opened
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] download: Browse to file if it cannot be opened
- Date: Sat, 12 Mar 2016 02:17:20 +0000 (UTC)
commit fb3e7f4d2acf15a689161f1ea539d6d3888c2a12
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Feb 27 12:50:11 2016 -0600
download: Browse to file if it cannot be opened
Instead of failing silently in response to the user's attempts to open a
download.
https://bugzilla.gnome.org/show_bug.cgi?id=610586
embed/ephy-download.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 7c837e9..cf88bfe 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -479,6 +479,8 @@ ephy_download_do_download_action (EphyDownload *download,
LOG ("ephy_download_do_download_action: open");
ret = ephy_embed_shell_launch_handler (ephy_embed_shell_get_default (),
destination, NULL, download->start_time);
+ if (!ret)
+ ret = ephy_file_browse_to (destination, download->start_time);
break;
case EPHY_DOWNLOAD_ACTION_NONE:
LOG ("ephy_download_do_download_action: none");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]