From 68291eca8eecf85a0b928ede37cd62d42e910d90 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 May 2017 20:09:26 +0300 Subject: Remove "open link" popup menu handler. --- src/gui/popups/popupmenu.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 35c459953..829a87749 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1253,10 +1253,6 @@ void PopupMenu::handleLink(const std::string &link, if (mTextField) mTextField->handlePaste(); } - else if (link == "open link" && !mName.empty()) - { - openBrowser(mName); - } else if (link == "clipboard link" && !mName.empty()) { sendBuffer(mName); @@ -2138,7 +2134,7 @@ void PopupMenu::showLinkPopup(const std::string &link) // TRANSLATORS: popup menu item // TRANSLATORS: open link in browser - mBrowserBox->addRow("open link", _("Open link")); + mBrowserBox->addRow("/open 'NAME'", _("Open link")); // TRANSLATORS: popup menu item // TRANSLATORS: copy link to clipboard mBrowserBox->addRow("clipboard link", _("Copy to clipboard")); -- cgit v1.2.3-70-g09d2