98
103
def show_uri(parent, link):
99
104
from gi.repository import Gtk # pylint: disable=E0611
100
106
screen = parent.get_screen()
101
107
Gtk.show_uri(screen, link, Gtk.get_current_event_time())
103
110
def alias(alternative_function_name):
104
111
'''see http://www.drdobbs.com/web-development/184406073#l9'''
106
114
'''attach alternative_function_name(s) to function'''
107
115
if not hasattr(function, 'aliases'):
109
117
function.aliases.append(alternative_function_name)