Fix previous commit (about removed)

Add action to about button
This commit is contained in:
Yann Diorcet 2012-11-06 11:13:28 +01:00
parent 780f4b5e2d
commit 6f6a1317d6

View file

@ -586,6 +586,7 @@ static UICompositeViewDescription *compositeDescription = nil;
[hiddenKeys addObject:@"in_call_timeout_preference"];
[hiddenKeys addObject:@"quit_button"]; // Hide for the moment
[hiddenKeys addObject:@"about_button"]; // Hide for the moment
if (!linphone_core_video_supported([LinphoneManager getLc]))
[hiddenKeys addObject:@"video_menu"];
@ -663,6 +664,8 @@ static UICompositeViewDescription *compositeDescription = nil;
if(controller != nil) {
[controller reset];
}
} else if([key isEqual:@"about_button"]) {
[[PhoneMainView instance] changeCurrentView:[AboutViewController compositeViewDescription] push:TRUE];
}
}