diff options
author | ritsuka <[email protected]> | 2014-08-19 17:10:28 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-08-19 17:10:28 +0000 |
commit | f743cbf1ede8d996ed4fad4812aebce5d34ef3be (patch) | |
tree | cc066a6a587dd62e1c118251fa68e291f7ecb4aa /macosx/Controller.m | |
parent | d9cb9cea31d6c3a4e3220202cd77471a8b37b02b (diff) |
MacGui: Removed the code to show/hide the fSrcAngle* UI elements in Controller.m, the same work is now done in the MainMenu.xib with bindings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6321 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r-- | macosx/Controller.m | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 72cd0055c..f17eda416 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -611,10 +611,6 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It [fPresetDrawer open]; } - /* Initially set the dvd angle widgets to hidden (dvdnav only) */ - [fSrcAngleLabel setHidden:YES]; - [fSrcAnglePopUp setHidden:YES]; - /* Setup the start / stop popup */ [fEncodeStartStopPopUp removeAllItems]; [fEncodeStartStopPopUp addItemWithTitle: @"Chapters"]; @@ -4318,26 +4314,14 @@ fWorkingCount = 0; [fSrcChapterEndPopUp selectItemAtIndex: hb_list_count( title->list_chapter ) - 1]; [self chapterPopUpChanged:nil]; - - /* if using dvd nav, show the angle widget */ - if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"UseDvdNav"] boolValue]) - { - [fSrcAngleLabel setHidden:NO]; - [fSrcAnglePopUp setHidden:NO]; - - [fSrcAnglePopUp removeAllItems]; - for( int i = 0; i < title->angle_count; i++ ) - { - [fSrcAnglePopUp addItemWithTitle: [NSString stringWithFormat: @"%d", i + 1]]; - } - [fSrcAnglePopUp selectItemAtIndex: 0]; - } - else + + [fSrcAnglePopUp removeAllItems]; + for( int i = 0; i < title->angle_count; i++ ) { - [fSrcAngleLabel setHidden:YES]; - [fSrcAnglePopUp setHidden:YES]; + [fSrcAnglePopUp addItemWithTitle: [NSString stringWithFormat: @"%d", i + 1]]; } - + [fSrcAnglePopUp selectItemAtIndex: 0]; + /* Start Get and set the initial pic size for display */ fTitle = title; |