Skip to content

Commit

Permalink
Add message in syslog whenever settings change (for debugging)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetrich committed Jun 19, 2010
1 parent 48e2efb commit 34b08ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions PSWController.m
Expand Up @@ -84,9 +84,10 @@ - (id)init

[containerView setPageView:snapshotPageView];
[snapshotPageView setPageViewDelegate:self];

[containerView setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
[self reloadPreferences];

PSWPreparePreferences();
[self applyPreferences];

if (GetPreference(PSWBecomeHomeScreen, NSInteger) == PSWBecomeHomeScreenDisabled) {
isActive = YES;
Expand Down Expand Up @@ -224,6 +225,7 @@ - (void)fixPageControl

- (void)reloadPreferences
{
NSLog(@"ProSwitcher: Reloading Preferences");
PSWPreparePreferences();
[self applyPreferences];
}
Expand Down

0 comments on commit 34b08ed

Please sign in to comment.