diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-17 07:39:31 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-17 07:39:31 (GMT) |
commit | f74614a02bcf9447404e06059306ccf544c053fb (patch) | |
tree | 5189eef513327c3cb3b519f42e67cc830226c4f4 /shell/sugar-shell | |
parent | 535b67ea41bbe150888f19ac89a7bde99cd86bb6 (diff) |
Let the shell deal with extending his own path
Diffstat (limited to 'shell/sugar-shell')
-rwxr-xr-x | shell/sugar-shell | 7 |
1 files changed, 7 insertions, 0 deletions
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 |