def __init__(self, app): GObject.Object.__init__(self) self.app = app self.__groups = [] self.group_titles = {} self.group_actions = {} self.default_accelerators = {} self.titles = {} self.config_path = os.path.join(xdg_config_home(), "shortcuts.conf") self.__loaded_actions = list(self.__load())
def __init__(self, app): GObject.Object.__init__(self) self.app = app self.__groups = [] self.group_titles = {} self.group_actions = {} self.default_accelerators = {} self.titles = {} self.config_path = os.path.sep.join([xdg_config_home(), "shortcuts.conf"]) self.__loaded_actions = list(self.__load())
def __init__(self, project_manager): Loggable.__init__(self) self.project_manager = project_manager self.conf_folder_path = xdg_config_home("editor_state") self.project = None self.conf_file_path = None self._editor_state = {} self.__state_saving_handle = 0 self.project_manager.connect("new-project-loaded", self._new_project_loaded_cb)