[vlc-commits] macosx: CAS: hide 3 empty encap matrix cells we don't need so far

Felix Paul Kühne git at videolan.org
Fri Jun 1 02:27:25 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jun  1 02:27:06 2012 +0200| [defdb5a9e1500b27b01e13eaec3e0a1ba72894b6] | committer: Felix Paul Kühne

macosx: CAS: hide 3 empty encap matrix cells we don't need so far

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=defdb5a9e1500b27b01e13eaec3e0a1ba72894b6
---

 modules/gui/macosx/ConvertAndSave.m |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/gui/macosx/ConvertAndSave.m b/modules/gui/macosx/ConvertAndSave.m
index 0c77e5b..73e77cd 100644
--- a/modules/gui/macosx/ConvertAndSave.m
+++ b/modules/gui/macosx/ConvertAndSave.m
@@ -108,6 +108,13 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
     [_customize_subs_ckb setTitle: _NS("Subtitles")];
     [_customize_subs_overlay_ckb setTitle: _NS("Overlay subtitles on the video")];
 
+    /* there is no way to hide single cells, so replace the existing ones with empty cells.. */
+    id blankCell = [[[NSCell alloc] init] autorelease];
+    [blankCell setEnabled:NO];
+    [_customize_encap_matrix putCell:blankCell atRow:3 column:1];
+    [_customize_encap_matrix putCell:blankCell atRow:3 column:2];
+    [_customize_encap_matrix putCell:blankCell atRow:3 column:3];
+
     _profileNames = [[NSArray alloc] initWithObjects:
                      @"Video - H.264 + MP3 (MP4)",
                      @"Video - VP80 + Vorbis (Webm)",



More information about the vlc-commits mailing list