summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 8753b7ec..28285a04 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -2,7 +2,7 @@
*
* This file is a part of the rekonq project
*
-* Copyright (C) 2008-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2008-2012 by Andrea Diamantini <adjam7 at gmail dot com>
* Copyright (C) 2009-2011 by Lionel Chauvin <megabigbug@yahoo.fr>
*
*
@@ -274,6 +274,10 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
// ACTIONS FOR TEXT SELECTION -----------------------------------------------------------------
if (resultHit & WebView::TextSelection)
{
+ // send by mail: text
+ sendByMailAction->setData(selectedText());
+ sendByMailAction->setText(i18n("Share selected text"));
+
if (result.isContentEditable())
{
// actions for text selected in field