示例#1
0
def onModify():
	if snapshots and snapshots.restoringInProgress():
		return
	global modified
	global name
	modified=True
	if snapshots:
		updateSnapshotState()
示例#2
0
def onOpen(path):
	global name
	global description
	global filePath
	if snapshots and not snapshots.restoringInProgress():
		updateSnapshotState()
	gf.clear()
	printAll()
示例#3
0
def onOpen():
    global name
    global description
    global filePath
    if snapshots and not snapshots.restoringInProgress():
        updateSnapshotState()
    gf.clear()
    printAll()
示例#4
0
def onModify():
    if snapshots and snapshots.restoringInProgress():
        gf.clear()
        printAll()
        return
    global modified
    global name
    modified = True
    if snapshots:
        updateSnapshotState()
示例#5
0
def onNew():
	if snapshots and snapshots.restoringInProgress():
		return
	global name
	global description
	global filePath
	global modified
	name=None
	description=None
	filePath=None
	modified=False
	if snapshots:
		updateSnapshotState()
示例#6
0
def onNew():
    if snapshots and snapshots.restoringInProgress():
        return
    global name
    global description
    global filePath
    global modified
    name = None
    description = None
    filePath = None
    modified = False
    if snapshots:
        updateSnapshotState()