summaryrefslogtreecommitdiffstats
path: root/macosx/ExpressController.m
diff options
context:
space:
mode:
authortiter <[email protected]>2006-03-18 22:26:38 +0000
committertiter <[email protected]>2006-03-18 22:26:38 +0000
commita9dec99c037cddb73d5a799dcfa8a7dee05d7dbe (patch)
tree87c759daa8896f06fb86f7f6632b5afde838e0d8 /macosx/ExpressController.m
parente3cd96683d5137f1aefef861ae40f7d0de93a7cb (diff)
Minor UI changes, + allow physical DVDs in HBE
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@44 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/ExpressController.m')
-rw-r--r--macosx/ExpressController.m18
1 files changed, 17 insertions, 1 deletions
diff --git a/macosx/ExpressController.m b/macosx/ExpressController.m
index fb881fa52..f9b6f95ef 100644
--- a/macosx/ExpressController.m
+++ b/macosx/ExpressController.m
@@ -158,7 +158,15 @@
[fOpenIndicator setIndeterminate: YES];
[fOpenIndicator startAnimation: nil];
- hb_scan( fHandle, [fOpenFolderString UTF8String], 0 );
+ if( [fOpenMatrix selectedRow] )
+ {
+ hb_scan( fHandle, [fOpenFolderString UTF8String], 0 );
+ }
+ else
+ {
+ hb_scan( fHandle, [[fOpenPopUp titleOfSelectedItem]
+ UTF8String], 0 );
+ }
NSTimer * timer = [NSTimer scheduledTimerWithTimeInterval: 0.5
target: self selector: @selector( openTimer: ) userInfo: nil
@@ -230,6 +238,10 @@
{
[fOpenPopUp selectItemAtIndex: 0];
}
+ if( [fOpenMatrix isEnabled] )
+ {
+ [self openEnable: YES];
+ }
}
- (void) openBrowseDidEnd: (NSOpenPanel *) sheet returnCode: (int)
@@ -262,6 +274,10 @@
{
[fOpenFolderField setEnabled: NO];
[fOpenBrowseButton setEnabled: NO];
+ if( ![fOpenPopUp numberOfItems] )
+ {
+ [fOpenGoButton setEnabled: NO];
+ }
}
}
}