def __init__(self, model, parent_ctrl): Controller.__init__(self, model) self.parent_ctrl = parent_ctrl # handler id of self.view['gnomekeyring_checkbutton']::toggled self._hid1 = None # handler id of self.view['show_icon_checkbutton']::toggled self._hid2 = None
def register_view(self, view): Controller.register_view(self, view) self.setup_sms_tab() self.setup_user_prefs_tab() self.setup_mail_browser_tab() self.setup_usage_tab() # set up signals after init self.setup_signals()