Exemplo n.º 1
0
 def open_cheatsheat(self):
     from virtaal.support import openmailto
     # FIXME: The URL below is just a temporary solution
     openmailto.open(
         _('http://translate.sourceforge.net/wiki/virtaal/cheatsheet'))
Exemplo n.º 2
0
 def try_open_link(self, name):
     if name not in self.LINKS:
         return False
     from virtaal.support import openmailto
     openmailto.open(self.LINKS[name])
     return True
 def try_open_link(self, name):
     if name not in self.LINKS:
         return False
     openmailto.open(self.LINKS[name])
     return True
Exemplo n.º 4
0
 def _on_lookup(self, menuitem, url):
     from virtaal.support.openmailto import open
     open(url)
 def open_cheatsheat(self):
     # FIXME: The URL below is just a temporary solution
     openmailto.open('http://translate.sourceforge.net/wiki/virtaal/cheatsheet')
Exemplo n.º 6
0
 def try_open_link(self, name):
     if name not in self.LINKS:
         return False
     from virtaal.support import openmailto
     openmailto.open(self.LINKS[name])
     return True
Exemplo n.º 7
0
 def on_url(self, dialog, uri, data):
     if data == "mail":
         openmailto.mailto(uri)
     elif data == "url":
         openmailto.open(uri)
Exemplo n.º 8
0
 def on_url(self, dialog, uri, data):
     if data == "mail":
         openmailto.mailto(uri)
     elif data == "url":
         openmailto.open(uri)
Exemplo n.º 9
0
 def _on_lookup(self, menuitem, url):
     from virtaal.support.openmailto import open
     open(url)