diff options
author | dynaflash <[email protected]> | 2007-06-20 20:08:20 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-06-20 20:08:20 +0000 |
commit | bfa6064c75f9e1166248aadd085ead1cafa7c3f4 (patch) | |
tree | 66e3ff55d541791dd8f9adf70019d0ebbcb47259 /macosx/Controller.mm | |
parent | 4959371e286039a773996cea289198c95b8ed8eb (diff) |
MacGui: ScanController modification so it skips the opening scan choice sheet and goes right to the file browse window if the "DVD Auto Detect" is turned off in the preferences.
Saves a few clicks on selecting source files.
Also, small change to controller.mm so that if an invalid source is selected, it shows up instead of the dvd name.
Scan panel if no auto detect could use a bit of fine tuning, but it works.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@627 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 954a84e2b..1efc3b902 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -394,6 +394,8 @@ return registrationDictionary; if( !hb_list_count( list ) ) { + /* We display a message if a valid dvd source was not chosen */ + [fSrcDVD2Field setStringValue: @"No Valid DVD Source Chosen"]; break; } @@ -403,8 +405,7 @@ return registrationDictionary; { title = (hb_title_t *) hb_list_item( list, i ); /*Set DVD Name at top of window*/ - [fSrcDVD2Field setStringValue: [NSString - stringWithUTF8String: title->name]]; + [fSrcDVD2Field setStringValue: [NSString stringWithUTF8String: title->name]]; /* Use the dvd name in the default output field here May want to add code to remove blank spaces for some dvd names*/ |