mirror of
https://github.com/arsenetar/dupeguru-cocoa.git
synced 2026-03-17 12:31:38 +00:00
Un-xibless-ified DirectoryPanel
This was a tricky one because the XIB couldn't be read by a modern Xcode. I had to go back to 10.8's Xcode to read it properly, save it, and then read it on 10.12. And even then, there we tons of little weird values here and there.
This commit is contained in:
9
build.py
9
build.py
@@ -79,15 +79,6 @@ def cocoa_app():
|
||||
def build_xibless(dest='cocoa/autogen'):
|
||||
import xibless
|
||||
ensure_folder(dest)
|
||||
FNPAIRS = [
|
||||
('problem_dialog.py', 'ProblemDialog_UI'),
|
||||
('directory_panel.py', 'DirectoryPanel_UI'),
|
||||
]
|
||||
for srcname, dstname in FNPAIRS:
|
||||
xibless.generate(
|
||||
op.join('cocoa', 'ui', srcname), op.join(dest, dstname),
|
||||
localizationTable='Localizable'
|
||||
)
|
||||
for appmode in ('standard', 'music', 'picture'):
|
||||
xibless.generate(
|
||||
op.join('cocoa', 'ui', 'preferences_panel.py'),
|
||||
|
||||
Reference in New Issue
Block a user