sugar-toolkit-gtk3/sugar/session/MatchboxProcess.py
Marco Pesenti Gritti 0c099a4b7c Do not show titlebar
2006-09-18 12:04:16 +02:00

18 lines
396 B
Python

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
options += '-use_titlebar no '
command = 'matchbox-window-manager %s ' % options
Process.__init__(self, command)
def get_name(self):
return 'Matchbox'