Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar
This commit is contained in:
commit
04ae920ad5
@ -32,7 +32,7 @@ class Terminal(gtk.HBox):
|
||||
|
||||
self._vte = vte.Terminal()
|
||||
self._configure_vte()
|
||||
self._vte.set_size(30, 5)
|
||||
self._vte.set_size(100, 5)
|
||||
self._vte.set_size_request(200, 450)
|
||||
self._vte.show()
|
||||
self.pack_start(self._vte)
|
||||
|
@ -6,7 +6,15 @@ pygtk.require('2.0')
|
||||
import os
|
||||
import sys
|
||||
from sugar import env
|
||||
from sugar import util
|
||||
|
||||
sys.path.append(env.get_service_path('console'))
|
||||
|
||||
# change to the user's home directory if it is set
|
||||
# root if not
|
||||
os.chdir(os.environ.get('HOME', '/'))
|
||||
|
||||
#set the process title so it shows up as sugar-console not python
|
||||
util.set_proc_title('sugar-console')
|
||||
|
||||
import console
|
||||
|
Loading…
Reference in New Issue
Block a user