mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
AdBlockPlugin: Add proper metadata
This commit is contained in:
parent
79297f54a2
commit
3984beda67
@ -1,5 +1,6 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/adblock">
|
<qresource prefix="/adblock">
|
||||||
|
<file>metadata.desktop</file>
|
||||||
<file>data/adblock.png</file>
|
<file>data/adblock.png</file>
|
||||||
<file>data/adblock_big.png</file>
|
<file>data/adblock_big.png</file>
|
||||||
<file>data/adblock.html</file>
|
<file>data/adblock.html</file>
|
||||||
|
@ -36,7 +36,7 @@ AdBlockPlugin::AdBlockPlugin()
|
|||||||
|
|
||||||
DesktopFile AdBlockPlugin::metaData() const
|
DesktopFile AdBlockPlugin::metaData() const
|
||||||
{
|
{
|
||||||
return DesktopFile();
|
return DesktopFile(QSL(":adblock/metadata.desktop"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdBlockPlugin::init(InitState state, const QString &settingsPath)
|
void AdBlockPlugin::init(InitState state, const QString &settingsPath)
|
||||||
|
11
src/lib/adblock/metadata.desktop
Normal file
11
src/lib/adblock/metadata.desktop
Normal 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
|
Loading…
Reference in New Issue
Block a user