refactor: eliminate `cola.prefs` package
commit9cd793714ac51d468b710e3f536ac65df4c6c58a
authorDavid Aguilar <davvid@gmail.com>
Fri, 11 Oct 2013 08:05:57 +0000 (11 01:05 -0700)
committerDavid Aguilar <davvid@gmail.com>
Fri, 11 Oct 2013 08:05:57 +0000 (11 01:05 -0700)
tree017fe93e12acc3391fe08b41eccc6ff81d1507a3
parent65c0b80bbd436c824c4be799414065ad4e4ed334
refactor: eliminate `cola.prefs` package

Move the git-config preference wrappers to cola.models.prefs.  Move the
GUI code to cola.widgets.prefs.  The common functionality, e.g.
diff_font(), moved to qtutils.

Signed-off-by: David Aguilar <davvid@gmail.com>
17 files changed:
bin/git-cola
cola/basecmd.py [new file with mode: 0644]
cola/cmds.py
cola/main/model.py
cola/main/view.py
cola/models/prefs.py [moved from cola/prefs/model.py with 56% similarity]
cola/prefs/__init__.py [deleted file]
cola/qtutils.py
cola/widgets/commitmsg.py
cola/widgets/completion.py
cola/widgets/grep.py
cola/widgets/prefs.py [moved from cola/prefs/view.py with 83% similarity]
cola/widgets/remote.py
cola/widgets/text.py
setup.py
share/git-cola/bin/git-xbase
win32/install.iss