[epiphany] Add "Search the web" option for editable fields
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [epiphany] Add "Search the web" option for editable fields
- Date: Thu, 20 Dec 2018 00:07:02 +0000 (UTC)
commit 039b8b3651732f02a439139995d50689527ee3db
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Wed Dec 19 09:57:44 2018 +0100
    Add "Search the web" option for editable fields
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/438
 src/ephy-window.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 490c2ff34..6be54a3d0 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1591,6 +1591,11 @@ populate_context_menu (WebKitWebView       *web_view,
                                 webkit_context_menu_item_new_separator ());
     add_action_to_context_menu (context_menu, window_action_group,
                                 "select-all", window);
+
+    if (can_search_selection)
+      add_action_to_context_menu (context_menu, popup_action_group,
+                                  search_selection_action_name, window);
+
     if (input_methods_item || unicode_item)
       webkit_context_menu_append (context_menu,
                                   webkit_context_menu_item_new_separator ());
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]