コード例 #1
0
    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
コード例 #2
0
 def cb_launch_browser(self, control, signal):
     # start the default browser to visit the default page
     launch_browser()
コード例 #3
0
ファイル: set_wifi.py プロジェクト: isabella232/kano-settings
 def cb_launch_browser(self, control, signal):
     # start the default browser to visit the default page
     launch_browser()