def __init__(self, name, url):
     """
     @param url: URL including protocol
     (e.g. file://, http://, ftp://)
     """
     OpenWithApplicationAction.__init__(self, name, "nautilus", [url])
     self._url = url
Beispiel #2
0
 def __init__(self, name, url):
     """
     @param url: URL including protocol
     (e.g. file://, http://, ftp://)
     """
     OpenWithApplicationAction.__init__(self, name, "caja", [url])
     self._url = url
 def __init__(self, name, term, verb, hit_type=None):
     """
     @param hit_type: Beagle hit type to search for 
     """
     beagle_args = [term]
     if hit_type != None:
         beagle_args.append(hit_type)
     
 	OpenWithApplicationAction.__init__(self, name, "beagle-search", beagle_args)
 	self._verb = verb
Beispiel #4
0
    def __init__(self, name, term, verb, hit_type=None):
        """
        @param hit_type: Beagle hit type to search for 
        """
        beagle_args = [term]
        if hit_type != None:
            beagle_args.append(hit_type)

        OpenWithApplicationAction.__init__(self, name, "beagle-search",
                                           beagle_args)
        self._verb = verb
Beispiel #5
0
 def __init__(self, name, program, args, verb):
     OpenWithApplicationAction.__init__(self, name, program, args)
     self._verb = verb
 def __init__(self, name, uri, client, snippet=None):
     OpenWithApplicationAction.__init__(self, name, "beagle-imlogviewer", [])
     self._uri = gio.File(uri=uri).get_path ()
     self._client = client
 def __init__(self, name, uri, snippet=None):
     OpenWithApplicationAction.__init__(self, name, "tomboy", ["--open-note", uri])
 def __init__(self, name, uri):
     OpenWithApplicationAction.__init__(self, name, "thunderbird",
                                            ["-viewbeagle", uri])
 def __init__(self, name, uri):
     OpenWithApplicationAction.__init__(self, name, "evolution", [uri])
Beispiel #10
0
 def __init__(self, name, uri, client, snippet=None):
     OpenWithApplicationAction.__init__(self, name, "beagle-imlogviewer",
                                        [])
     self._uri = gio.File(uri=uri).get_path()
     self._client = client
Beispiel #11
0
 def __init__(self, name, uri, snippet=None):
     OpenWithApplicationAction.__init__(self, name, "tomboy",
                                        ["--open-note", uri])
Beispiel #12
0
 def __init__(self, name, uri):
     OpenWithApplicationAction.__init__(self, name, "thunderbird",
                                        ["-viewbeagle", uri])
Beispiel #13
0
 def __init__(self, name, uri):
     OpenWithApplicationAction.__init__(self, name, "evolution", [uri])
Beispiel #14
0
 def __init__(self, name, email, uri):
     OpenWithApplicationAction.__init__(self, name, "evolution", [uri])
     self._email = email
     self._uri = uri
Beispiel #15
0
 def __init__(self, name, program, args, verb):
     OpenWithApplicationAction.__init__(self, name, program, args)
     self._verb = verb