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

@ -13,7 +13,7 @@ license=('GPL3')
makedepends=('automoc4' 'cmake' 'kdelibs' 'qt5-base' 'qt5-tools')
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
install="${pkgbase}.install"
md5sums=('fe694c52999c0470f5afbab16fc1e6c6')
md5sums=('9a47346e890e7c4458602d47751adf17')
prepare() {

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