anathema/anathema — pull request #192 by curttasker (2012-04-21 06:38:37+00:00)
Title: Revamp of repository location selection.

I noticed [last week](http://forums.white-wolf.com/default.aspx?g=posts&m=1344344#post1344344) that a few users were having trouble locating their repository. One had mistakenly changed his default repository through the UI, and didn't know where his original was to select it again.

In a perfect world, we could shield the user from any knowledge of the location of their repository, and have them use the Import/Export function to do everything. That said, that just isn't happening anytime soon. We have no Import/Export for equipment, half of our users don't even know we have an Import/Export feature, we're telling users in `Custom Charms.txt` to find their repository to add custom charms, and I suspect the vast majority of our users have tried to find their repository manually to drop in an 'illicit' `Equipment.yap` file.

As noted in my post linked above, Anathema has 5 different locations where it can store your default repository, based on your OS and installation method. That's just nuts. What's more nuts is that the repository location textfield in our preferences shows only [Default Repository] when the user hasn't changed to a custom repository location. A user should be told right where his repository is, we shouldn't be hiding it. I know I found mine originally through searching my hard drive for "Anathema".

In any case, this pull request is an attempt to make life easier for our users to deal with their repository folder.

New features:
- Button added to reset the repository to its default location for your OS / Install Method
- Browse button actually opens to the current repository location now, rather than a random folder (it varied depending on OS, but was a fairly useless location in all of them).
- Button added to open the currently selected repository location in your OS-specific file manager (Finder for mac, Explorer for Windows, and I'm unsure what Java uses for Linux variants)
- Location textfield now shows the actual location of the repository when its set to default, rather than [Default Repository]