1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

AdBlockPlugin: Add proper metadata

This commit is contained in:
David Rosca 2018-02-24 14:11:25 +01:00
parent 79297f54a2
commit 3984beda67
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
3 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/adblock">
<file>metadata.desktop</file>
<file>data/adblock.png</file>
<file>data/adblock_big.png</file>
<file>data/adblock.html</file>

View File

@ -36,7 +36,7 @@ AdBlockPlugin::AdBlockPlugin()
DesktopFile AdBlockPlugin::metaData() const
{
return DesktopFile();
return DesktopFile(QSL(":adblock/metadata.desktop"));
}
void AdBlockPlugin::init(InitState state, const QString &settingsPath)

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=AdBlock
Comment=Blocks unwanted web content
Icon=:adblock/data/adblock.png
Type=Service
X-Falkon-Author=David Rosca
X-Falkon-Email=nowrep@gmail.com
X-Falkon-Version=1.1.0
X-Falkon-Settings=false