Пример #1
0
 def __init__(self, website, title, url):
     ShowUrlAction.__init__(self, website, url)
     self._title = title
Пример #2
0
 def __init__(self, name, email):
     ShowUrlAction.__init__(self, name,
                            "mailto: \"%s\" <%s>" % (name, email))
     self._email = email
Пример #3
0
 def __init__(self, name, url, item_type):
     ShowUrlAction.__init__(self, name, url)
     self._item_type = item_type
Пример #4
0
 def __init__(self, name, url):
     ShowUrlAction.__init__(self, name, url)
Пример #5
0
 def __init__(self, term):
     url = self.BASE_URL % urllib.urlencode({'q': term})
     ShowUrlAction.__init__(self, term, url)
Пример #6
0
 def __init__(self, term):
     url = self.BASE_URL % urllib.urlencode({'p': term})
     ShowUrlAction.__init__(self, term, url)
 def __init__(self, name, email):
     ShowUrlAction.__init__(self, name, "mailto: \"%s\" <%s>" % (name, email))
     self._email = email
Пример #8
0
 def __init__(self, name, uri, escaped_uri):
     ShowUrlAction.__init__(self, name, uri)
     self._display_uri = gio.File(uri=escaped_uri).get_parse_name()
Пример #9
0
 def __init__(self, name, identifier, publisher=None, snippet=None):
     ShowUrlAction.__init__(self, name, identifier)
Пример #10
0
 def __init__(self, name, url, item_type):
     ShowUrlAction.__init__(self, name, url)
     self._item_type = item_type
Пример #11
0
 def __init__(self, name, identifier, publisher=None, snippet=None):
     ShowUrlAction.__init__(self, name, identifier)
Пример #12
0
 def __init__(self, website, query, url):
     ShowUrlAction.__init__(self, website, url)
     self._query = query
Пример #13
0
 def __init__(self, website, title, url):
     ShowUrlAction.__init__(self, website, url)
     self._title = title
Пример #14
0
 def __init__(self, name, url, tags=None):
     """
     @param tags: Is ignored since 2.23.1,
     just there for backwards compatibility 
     """
     ShowUrlAction.__init__(self, name, url)
Пример #15
0
 def __init__(self, website, query, url):
     ShowUrlAction.__init__(self, website, url)
     self._query = query
Пример #16
0
 def __init__(self, name, uri, escaped_uri):
     ShowUrlAction.__init__(self, name, uri)
     self._display_uri = gio.File (uri=escaped_uri).get_parse_name()
Пример #17
0
 def __init__(self, name, url, tags=None):
     """
     @param tags: Is ignored since 2.23.1,
     just there for backwards compatibility 
     """
     ShowUrlAction.__init__(self, name, url)
Пример #18
0
 def __init__(self, title, lang):
     ShowUrlAction.__init__(self, title,
                            WIKIPEDIA_ARTICLE_URL + '?' + urllib.urlencode({'l': lang, 'q': title}))
Пример #19
0
 def __init__(self, name, url):
     ShowUrlAction.__init__(self, name, url)
Пример #20
0
 def __init__(self, title, lang):
     ShowUrlAction.__init__(self, title,
                            WIKIPEDIA_ARTICLE_URL + '?' + urllib.urlencode({'l': lang, 'q': title}))