Commit 37f2923b authored by Björn Feber's avatar Björn Feber
Browse files

Add icons to Konsole URL/mail context menu item

Summary:
URL: {F7821533}
Mail: {F7821534}

Test Plan: Open the context menu for an URL/mail address in Konsole.

Reviewers: #konsole, #vdg, ndavis, ngraham

Reviewed By: #vdg, ndavis, ngraham

Subscribers: ngraham, ndavis, #vdg, konsole-devel, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D26053
parent 2251d558
......@@ -487,10 +487,14 @@ QList<QAction *> UrlFilter::HotSpot::actions()
if (kind == StandardUrl) {
openAction->setText(i18n("Open Link"));
openAction->setIcon(QIcon::fromTheme(QStringLiteral("internet-services")));
copyAction->setText(i18n("Copy Link Address"));
copyAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy-url")));
} else if (kind == Email) {
openAction->setText(i18n("Send Email To..."));
openAction->setIcon(QIcon::fromTheme(QStringLiteral("mail-send")));
copyAction->setText(i18n("Copy Email Address"));
copyAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy-mail")));
}
// object names are set here so that the hotspot performs the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment