summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-body.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 88da124..99b52ca 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -348,7 +348,6 @@ context_menu_cb(WebKitWebView __attribute__((unused)) *web_view,
g_object_ref(body->hit_test_result);
context_handled = FALSE;
- g_print("Context menu, hit test:");
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) {
context_menu_link_cb(context_menu, body);
context_handled = TRUE;
@@ -373,14 +372,13 @@ context_menu_cb(WebKitWebView __attribute__((unused)) *web_view,
if (!context_handled &&
context & WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT) {
if (is_selection) {
- g_print(" selection");
+ RESTORE_ITEMS(edit_items); /* _Copy */
context_handled = TRUE;
} else {
context_menu_document_cb(context_menu, nav_items, body);
context_handled = TRUE;
}
}
- g_print("\n");
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT) {
if (context_handled) {
NEW_SEPARATOR_ITEM();