Exemplo n.º 1
0
def content_deleted(content, event):
    if event.newParent is None:
        if changes.should_index_content(content):
            changes.unindex_content(content)
Exemplo n.º 2
0
def content_modified(content, event):
    if changes.should_index_content(content):
        changes.index_content(content)
Exemplo n.º 3
0
def content_added(content, event):
    if changes.should_index_content(content):
        changes.index_content(content)
def content_deleted(content, event):
    if event.newParent is None:
        if changes.should_index_content(content):
            changes.unindex_content(content)
def content_modified(content, event):
    if changes.should_index_content(content):
        changes.index_content(content)
def content_added(content, event):
    if changes.should_index_content(content):
        changes.index_content(content)