Fix some missing imports
This commit is contained in:
parent
6b1c330dbf
commit
db0aad8333
@ -2,6 +2,7 @@ import os
|
|||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
import vte
|
import vte
|
||||||
|
import pango
|
||||||
|
|
||||||
from sugar.activity.Activity import Activity
|
from sugar.activity.Activity import Activity
|
||||||
|
|
||||||
@ -69,4 +70,7 @@ class TerminalActivity(Activity):
|
|||||||
activity = TerminalActivity()
|
activity = TerminalActivity()
|
||||||
activity.connect_to_shell()
|
activity.connect_to_shell()
|
||||||
|
|
||||||
gtk.main()
|
try:
|
||||||
|
gtk.main()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user