626 |
[defaults setObject: [NSString stringWithFormat: @"%i", defSortType] |
[defaults setObject: [NSString stringWithFormat: @"%i", defSortType] |
627 |
forKey: @"defaultsorttype"]; |
forKey: @"defaultsorttype"]; |
628 |
[defaults synchronize]; |
[defaults synchronize]; |
629 |
|
|
630 |
|
[self clearCache]; |
631 |
|
|
632 |
[[NSNotificationCenter defaultCenter] |
[[NSNotificationCenter defaultCenter] |
633 |
postNotificationName: GWSortTypeDidChangeNotification |
postNotificationName: GWSortTypeDidChangeNotification |
634 |
object: nil]; |
object: nil]; |
635 |
} |
} |
636 |
} |
} |
637 |
|
|