diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 25b7f8ea..2250380a 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -155,6 +155,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); } @@ -170,7 +174,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) // is content selected? Add SEARCH actions if(result.isContentSelected()) { - KActionMenu *searchMenu = new KActionMenu(i18n("Search with"), this); + KActionMenu *searchMenu = new KActionMenu(KIcon("edit-find"), i18n("Search with"), this); KConfig config("kuriikwsfilterrc"); //Share with konqueror KConfigGroup cg = config.group("General"); |