From d1f10dedeb008689c1a6c60daf939b57c149a7af Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 25 Apr 2007 10:14:41 +0000 Subject: oops, wrongly moved to drakx-kbd-mouse-x11 instead of drakx-net --- data/net_applet.desktop | 12 ++++++++++++ scripts/net_applet.xinit | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 data/net_applet.desktop create mode 100755 scripts/net_applet.xinit diff --git a/data/net_applet.desktop b/data/net_applet.desktop new file mode 100644 index 0000000..dbfc8b8 --- /dev/null +++ b/data/net_applet.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=NetApplet +GenericName=Network Watcher Applet +GenericName[fr]=Applet de Contrôle du réseau +Exec=net_applet +Icon=disconnected +Type=Application +Terminal=0 +X-KDE-autostart-after=panel +X-KDE-UniqueApplet=true +X-KDE-autostart-condition=General:AutoStart:true diff --git a/scripts/net_applet.xinit b/scripts/net_applet.xinit new file mode 100755 index 0000000..0024726 --- /dev/null +++ b/scripts/net_applet.xinit @@ -0,0 +1,5 @@ +#!/bin/sh +DESKTOP=$1 +case $DESKTOP in + KDE|GNOME|IceWM) exec /usr/bin/net_applet;; +esac \ No newline at end of file -- cgit v1.2.1