1
0
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:
Virgil Dupras
2017-04-04 22:33:27 -04:00
parent 171c9cefed
commit 4c0a66379b
8 changed files with 295 additions and 115 deletions

View File

@@ -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'),