forked from pieter/gitx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a NSUserDefaultsDidChangeNotification listener to PBGitHistoryCon…
…troller. Add method decl signatures for updateKeys and scrollSelectionToTopOfViewFrom: - Call preferencesChangedWithNotification: on self when the notification is received. This gives us the opportunity to refresh the history controller's commit list in case defaults like the relative dates option have changed. This makes the effect of switching that option while the prefs panel is still open instant.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters