From f74614a02bcf9447404e06059306ccf544c053fb Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 17 Oct 2006 07:39:31 +0000 Subject: Let the shell deal with extending his own path --- (limited to 'shell') diff --git a/shell/sugar-shell b/shell/sugar-shell index 95deb40..9353492 100755 --- a/shell/sugar-shell +++ b/shell/sugar-shell @@ -16,12 +16,19 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +import sys +import os + import pygtk pygtk.require('2.0') import gtk from sugar import profile +from sugar import env from sugar import TracebackUtils + +sys.path.insert(0, os.path.join(env.get_data_dir(), 'shell')) + from view.FirstTimeDialog import FirstTimeDialog from view.Shell import Shell from model.ShellModel import ShellModel -- cgit v0.9.1