[epiphany/mcatanzaro/search-the-web] Disable Search the Web action in app mode



commit abe103b3464c1656f2b9c2e7f8dc50753355ff26
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Dec 11 09:40:54 2019 -0600

    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.

 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 af1ce7e99..494989f7f 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1603,7 +1603,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]