Esempio n. 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))
Esempio n. 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))
Esempio n. 3
0
def notify_update(url):
    print 'update found at', url

    time.sleep(1)

    ui.execute_later(lambda: menus.notify_update(url))
Esempio n. 4
0
def notify_update(url):
    print 'update found at', url

    time.sleep(1)

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