[epiphany] Do not "ask where to download" in a flatpak environment
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Do not "ask where to download" in a flatpak environment
- Date: Mon, 8 Apr 2019 17:05:08 +0000 (UTC)
commit 123634def254b2fec33e63de7ca2837a4d7b63f6
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Mon Apr 8 18:37:59 2019 +0200
Do not "ask where to download" in a flatpak environment
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/711
embed/ephy-download.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index f0d3a7140..b1c66f214 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -879,7 +879,7 @@ ephy_download_new (WebKitDownload *download)
ephy_download = ephy_download_new_internal (download);
- if (g_settings_get_boolean (EPHY_SETTINGS_WEB, EPHY_PREFS_WEB_ASK_ON_DOWNLOAD)) {
+ if (!ephy_is_running_inside_flatpak() && g_settings_get_boolean (EPHY_SETTINGS_WEB,
EPHY_PREFS_WEB_ASK_ON_DOWNLOAD)) {
g_signal_connect (ephy_download, "filename-suggested",
G_CALLBACK (filename_suggested_cb),
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]