[epiphany] Do not show send link context menu option in app mode
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Do not show send link context menu option in app mode
- Date: Sat, 7 Dec 2019 18:38:14 +0000 (UTC)
commit 921ce18c3e51062fbce07629d5d5d2998f39243c
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Sat Dec 7 12:47:55 2019 +0100
Do not show send link context menu option in app mode
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/926
src/ephy-window.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ffd7d48a5..af1ce7e99 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1754,14 +1754,14 @@ populate_context_menu (WebKitWebView *web_view,
g_free (search_selection_action_name);
- if (is_document && !is_image && !is_media) {
- webkit_context_menu_append (context_menu,
- webkit_context_menu_item_new_separator ());
- add_action_to_context_menu (context_menu, window_action_group,
- "send-to", window);
- }
-
if (!app_mode) {
+ if (is_document && !is_image && !is_media) {
+ webkit_context_menu_append (context_menu,
+ webkit_context_menu_item_new_separator ());
+ add_action_to_context_menu (context_menu, window_action_group,
+ "send-to", window);
+ }
+
webkit_context_menu_append (context_menu,
webkit_context_menu_item_new_separator ());
add_action_to_context_menu (context_menu, window_action_group,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]