[epiphany/gnome-3-34] Disable Search the Web action in app mode
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-34] Disable Search the Web action in app mode
- Date: Mon, 16 Dec 2019 16:16:29 +0000 (UTC)
commit bb897a569c9bc119cbe51d3ca5f2f05551a2b349
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Dec 11 15:40:54 2019 +0000
Disable Search the Web action in app mode
I clicked this by mistake, then got stuck on duckduckgo.com without any
way to get back to my web app.
(cherry picked from commit abe103b3464c1656f2b9c2e7f8dc50753355ff26)
src/ephy-window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c98d7b88f..c3a4e6c1b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1601,7 +1601,7 @@ populate_context_menu (WebKitWebView *web_view,
if (should_show_copy_outside_editable (web_view))
add_action_to_context_menu (context_menu, window_action_group,
"copy", window);
- if (can_search_selection)
+ if (can_search_selection && !app_mode)
add_action_to_context_menu (context_menu, popup_action_group,
search_selection_action_name, window);
webkit_context_menu_append (context_menu,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]