def __init__(self, **options): GConfComboTweak.__init__(self, "/desktop/gnome/shell/windows/button_layout", str, ((':close', 'Close Only'), (':minimize,close', 'Minimize and Close'), (':maximize,close', 'Maximize and Close'), (':minimize,maximize,close', 'All')), **options)
def __init__(self, key_name, **options): #from the metacity schema schema_options = ('toggle_shade', 'toggle_maximize', 'toggle_maximize_horizontally', 'toggle_maximize_vertically', 'minimize', 'shade', 'menu', 'lower', 'none') GConfComboTweak.__init__(self, key_name, str, [(o, o.replace("_"," ").title()) for o in schema_options], **options)