Add device icons to KDE Connect context menu

Authored by broulik on Apr 15 2020, 8:58 AM.

Description

Add device icons to KDE Connect context menu

Firefox supports setting icons on menus [1]. Chrome refuses to create a menu with unknown keys,
so this is guarded by IS_FIREFOX.
This uses the appropriate Breeze icons, except "computer-tablet" which I edited to have larger
padding to somewhat fit better with the rest of the icons.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus#Icons

Differential Revision: https://phabricator.kde.org/D28837

Details

Committed
broulikApr 15 2020, 8:58 AM
Differential Revision
D28837: Add device icons to KDE Connect context menu
Parents
R856:7f3bc46f9044: Show purpose context menu only when enabled
Branches
Unknown
Tags
Unknown