def __init__(self, name, uri, inside_archive, parent_file): self._complete_uri = uri self._parent_file = parent_file if inside_archive == "true": uri = self.__get_archive_uri(uri) OpenFileAction.__init__(self, name, uri, False)
def __init__(self, name, uri, inside_archive, parent_file): self._complete_uri = uri self._parent_file = parent_file if inside_archive == "true": uri = self.__get_archive_uri(uri) OpenFileAction.__init__(self, name, uri, False)
def __init__(self, name=None, absname=None, **args): deskbar.interfaces.Match.__init__(self, name=name, icon=absname, category="files", **args) self.absname = absname self.add_action(OpenFileAction(name, absname)) self.add_all_actions(get_actions_for_uri(absname))
def __init__(self, name, url): OpenFileAction.__init__(self, name, url, escape=False)
def get_name(self, text=None): names = OpenFileAction.get_name (self) if hasattr(self, "_parent_file") and self._parent_file != None: names["parent"] = self._parent_file return names
def get_name(self, text=None): names = OpenFileAction.get_name(self) if hasattr(self, "_parent_file") and self._parent_file != None: names["parent"] = self._parent_file return names
def __init__(self, name, url): OpenFileAction.__init__(self, name, url, escape=False)