예제 #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'))
예제 #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
예제 #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')
예제 #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
예제 #7
0
 def on_url(self, dialog, uri, data):
     if data == "mail":
         openmailto.mailto(uri)
     elif data == "url":
         openmailto.open(uri)
예제 #8
0
 def on_url(self, dialog, uri, data):
     if data == "mail":
         openmailto.mailto(uri)
     elif data == "url":
         openmailto.open(uri)
예제 #9
0
 def _on_lookup(self, menuitem, url):
     from virtaal.support.openmailto import open
     open(url)