Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2006-10-29 05:33:42 (GMT)
committer Dan Williams <dcbw@redhat.com>2006-10-29 05:33:42 (GMT)
commitb2983ac76367bde89ce84a147b90845bbed670b2 (patch)
treecf919639544fd8db248c448cf33229a34b1a530c /shell
parent173817ae18f475e278ccd209d25ece613980d51d (diff)
Better working nm-applet
- Start nm-applet when the shell starts - Use the artwork - Respond to signals and get initial states
Diffstat (limited to 'shell')
-rwxr-xr-xshell/sugar-shell8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell
index 28e22ff..1620aa3 100755
--- a/shell/sugar-shell
+++ b/shell/sugar-shell
@@ -22,6 +22,7 @@ import os
import pygtk
pygtk.require('2.0')
import gtk
+import gobject
from sugar import logger
from sugar import profile
@@ -46,6 +47,13 @@ if not name or not len(name):
model = ShellModel()
shell = Shell(model)
+# Start the NetworkManager applet
+# FIXME: do this somewhere else, better planned out
+args = ["sugar-nm-applet"]
+flags = gobject.SPAWN_SEARCH_PATH
+result = gobject.spawn_async(args, flags=flags, standard_output=False)
+
+
tbh = TracebackUtils.TracebackHelper()
try:
gtk.main()