summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/networkmanager/files/70NetworkManagerApplet2
-rw-r--r--meta/packages/networkmanager/networkmanager-applet_svn.bb10
2 files changed, 10 insertions, 2 deletions
diff --git a/meta/packages/networkmanager/files/70NetworkManagerApplet b/meta/packages/networkmanager/files/70NetworkManagerApplet
new file mode 100644
index 000000000..46095d6ca
--- /dev/null
+++ b/meta/packages/networkmanager/files/70NetworkManagerApplet
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/nm-applet &
diff --git a/meta/packages/networkmanager/networkmanager-applet_svn.bb b/meta/packages/networkmanager/networkmanager-applet_svn.bb
index c6c4be425..2d31030a0 100644
--- a/meta/packages/networkmanager/networkmanager-applet_svn.bb
+++ b/meta/packages/networkmanager/networkmanager-applet_svn.bb
@@ -3,13 +3,14 @@ LICENSE = "GPL"
DEPENDS = "networkmanager dbus-glib libglade gconf gnome-keyring"
#TODO DEPENDS libnotify
RDEPENDS = "networkmanager"
-PR = "r1"
+PR = "r2"
inherit gnome gtk-icon-cache
SRC_URI = "svn://svn.gnome.org/svn/network-manager-applet/;module=trunk;proto=http \
file://applet-no-gnome.diff;patch=1;pnum=0 \
- file://applet-no-animation.patch;patch=1"
+ file://applet-no-animation.patch;patch=1 \
+ file://70NetworkManagerApplet"
PV = "0.0+svnr${SRCREV}"
@@ -19,3 +20,8 @@ FILES_${PN} += "${datadir}/nm-applet/ \
${datadir}/gnome-vpn-properties/ \
${datadir}/gnome/autostart/ \
"
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/X11/Xsession.d/
+ install -m 755 ${WORKDIR}/70NetworkManagerApplet ${D}${sysconfdir}/X11/Xsession.d/
+} \ No newline at end of file