def show_changelog(self, widget, event): '''Launch chromium with the link of the relevent changelog ''' # Assuming current_version is of the form 1.3.4 current_version = get_current_version() # Full link should be analogous to # http://world.kano.me/forum/topic/kanux-beta-v1.2.3 link = "http://world.kano.me/forum/topic/kanux-beta-v{}".format( current_version ) launch_browser(link) return
def cb_launch_browser(self, control, signal): # start the default browser to visit the default page launch_browser()