mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 03:29:02 +00:00
43c4dcb267
--HG-- rename : core_me/app_cocoa.py => cocoa/inter/app_me.py rename : core_pe/app_cocoa.py => cocoa/inter/app_pe.py rename : core_se/app_cocoa.py => cocoa/inter/app_se.py
14 lines
401 B
Python
14 lines
401 B
Python
from hscommon.cocoa.inter import PyOutline
|
|
|
|
from core.gui.directory_tree import DirectoryTree
|
|
|
|
class PyDirectoryOutline(PyOutline):
|
|
py_class = DirectoryTree
|
|
|
|
def addDirectory_(self, path):
|
|
self.py.add_directory(path)
|
|
|
|
# python --> cocoa
|
|
def refresh_states(self):
|
|
# Under cocoa, both refresh() and refresh_states() do the same thing.
|
|
self.cocoa.refresh() |