summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-10-18 15:17:18 +0200
committermatgic78 <matgic78@gmail.com>2009-10-18 15:17:18 +0200
commit4f37ee951857a68bb58aff32ed2475002997d10c (patch)
tree65682351f80fb4ee3b810ac0aff9efdb93d2abec /src
parentMerge commit 'refs/merge-requests/1827' of git://gitorious.org/rekonq/mainlin... (diff)
downloadrekonq-4f37ee951857a68bb58aff32ed2475002997d10c.tar.xz
set text for copy action in contexmenu to "Copy Text" to avoid confusion with copy link
Diffstat (limited to 'src')
-rw-r--r--src/webview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 9e06c9da..5e5fdbb1 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -153,6 +153,10 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
a = pageAction(QWebPage::Copy);
a->setIcon(KIcon("edit-copy"));
a->setShortcut(KStandardShortcut::copy().primary());
+ if(!result.isContentEditable()) // "Cut" "Copy Text" "Paste" is ugly. Don't add "text" with cut/paste
+ a->setText(i18n("Copy Text"));
+ else
+ a->setText(i18n("Copy"));
menu.addAction(a);
}