2006-09-10 02:35:53 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
from sugar.session.Process import Process
|
|
|
|
from sugar import env
|
|
|
|
|
|
|
|
class MatchboxProcess(Process):
|
|
|
|
def __init__(self):
|
|
|
|
kbd_config = os.path.join(env.get_data_dir(), 'kbdconfig')
|
|
|
|
options = '-kbdconfig %s ' % kbd_config
|
|
|
|
|
2006-09-18 12:04:16 +02:00
|
|
|
options += '-use_titlebar no '
|
2006-10-04 19:52:03 +02:00
|
|
|
options += '-theme olpc '
|
2006-09-10 02:35:53 +02:00
|
|
|
|
|
|
|
command = 'matchbox-window-manager %s ' % options
|
|
|
|
Process.__init__(self, command)
|
|
|
|
|
|
|
|
def get_name(self):
|
|
|
|
return 'Matchbox'
|