예제 #1
0
def notify_update(url):
    print 'update found at', url

    time.sleep(1)

    with ui.execute_later_lock:
        ui.execute_later.append(lambda: menus.notify_update(url))
예제 #2
0
def notify_update(url):
    print 'update found at', url
    
    time.sleep(1)
    
    with ui.execute_later_lock:
        ui.execute_later.append(lambda: menus.notify_update(url))
예제 #3
0
def notify_update(url):
    print 'update found at', url

    time.sleep(1)

    ui.execute_later(lambda: menus.notify_update(url))
예제 #4
0
def notify_update(url):
    print 'update found at', url

    time.sleep(1)

    ui.execute_later(lambda: menus.notify_update(url))