diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 20:09:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 20:09:26 +0300 |
commit | 68291eca8eecf85a0b928ede37cd62d42e910d90 (patch) | |
tree | 2db27b1bedb8959246a505f2f6dfe75682f8379f /src/gui/popups/popupmenu.cpp | |
parent | a02e2ba72702226cc25b245cc0e2615ead279cee (diff) | |
download | plus-68291eca8eecf85a0b928ede37cd62d42e910d90.tar.gz plus-68291eca8eecf85a0b928ede37cd62d42e910d90.tar.bz2 plus-68291eca8eecf85a0b928ede37cd62d42e910d90.tar.xz plus-68291eca8eecf85a0b928ede37cd62d42e910d90.zip |
Remove "open link" popup menu handler.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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")); |