allow applet to move into notifications area

This commit is contained in:
arcan1s
2014-08-10 16:17:00 +04:00
parent f7352f5c59
commit 43ed28de52
3 changed files with 4 additions and 2 deletions

View File

@ -70,6 +70,7 @@ Netctl::Netctl(QObject *parent, const QVariantList &args)
debug = false;
setBackgroundHints(DefaultBackground);
setAspectRatioMode(Plasma::IgnoreAspectRatio);
setHasConfigurationInterface(true);
connect(this, SIGNAL(activate()), this, SLOT(showGui()));
// text format init

View File

@ -5,7 +5,7 @@ Comment=Plasmoid for netctl
Type=Service
Icon=netctl-gui-widget
X-KDE-ServiceTypes=Plasma/Applet
X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet
X-KDE-Library=plasma_applet_netctl
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
@ -17,3 +17,4 @@ X-KDE-PluginInfo-Category=Network
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPLv3
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-NotificationArea=true