def preferences(self): return preferences(model=self.prefs_model, parent=self)
def cmd_config(args): context = application_init(args) from cola.widgets.prefs import preferences view = preferences() return application_start(context, view)