[epiphany] flatpak: Fully disable save as web app
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] flatpak: Fully disable save as web app
- Date: Sun, 10 Dec 2017 19:59:50 +0000 (UTC)
commit 7e420af6989244d7f48a0c51577c0f2f5c04b9cd
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Dec 10 13:59:02 2017 -0600
flatpak: Fully disable save as web app
The keyboard shortcut was still functional. I thought I had tested
this....
src/window-commands.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index c7e7f56..e035339 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1398,6 +1398,9 @@ window_cmd_save_as_application (GSimpleAction *action,
char *markup;
char *escaped_address;
+ if (ephy_is_running_inside_flatpak ())
+ return;
+
embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
g_assert (embed != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]