parent
1a7ddfc0d1
commit
c2c74a455c
|
@ -41,3 +41,6 @@ def path_dirname(window):
|
|||
# default callback builders
|
||||
def build_constant(c):
|
||||
return lambda w: c
|
||||
|
||||
def build_mode_var(name):
|
||||
return lambda w: hasattr(w.mode, name) and getattr(w.mode, name) or ''
|
||||
|
|
Loading…
Reference in New Issue