def handle_uri(self, uri): if uri.startswith('file://'): return False elif uri.startswith('hotot:'): self.on_hotot_action(uri) return True elif uri.startswith('about:'): return True else: utils.open_webbrowser(uri) return True
def handle_uri(self, uri): if uri.startswith('file://'): return False elif uri.startswith('hotot:'): self.on_hotot_action(uri) return True elif uri.startswith('about:'): return True elif uri.startswith('http://stat.hotot.org'): return False else: utils.open_webbrowser(uri) return True
def handle_uri(self, uri): if uri.startswith('file://'): return False elif uri.startswith('hermelin:'): self.on_hermelin_action(uri) return True elif uri.startswith('about:'): return True elif uri.startswith('http://stat.hotot.org'): return False else: utils.open_webbrowser(uri) return True