| 477 | | + (void) migrateOldListSettingsIfNeeded |
|---|
| 478 | | { |
|---|
| 479 | | id<AIPreferenceController> prefController = adium.preferenceController; |
|---|
| 480 | | NSFileManager *manager = [NSFileManager defaultManager]; |
|---|
| 481 | | NSString *theme = [NSString stringWithFormat:@"%@/%@/%@.%@", |
|---|
| 482 | | [[NSBundle mainBundle] resourcePath], |
|---|
| 483 | | LIST_THEME_FOLDER, |
|---|
| 484 | | [prefController preferenceForKey:KEY_LIST_THEME_NAME group:PREF_GROUP_APPEARANCE], |
|---|
| 485 | | LIST_THEME_EXTENSION]; |
|---|
| 486 | | NSString *layout = [NSString stringWithFormat:@"%@/%@/%@.%@", |
|---|
| 487 | | [[NSBundle mainBundle] resourcePath], |
|---|
| 488 | | LIST_THEME_FOLDER, |
|---|
| 489 | | [prefController preferenceForKey:KEY_LIST_LAYOUT_NAME group:PREF_GROUP_APPEARANCE], |
|---|
| 490 | | @"ListLayout"]; |
|---|
| 491 | | } |
|---|
| 492 | | |
|---|