Commit 7d25d78e authored by David Fuhrmann's avatar David Fuhrmann

macosx: remove open BDMV folder button

Two different buttons signify to the user that there is an
actual difference in using either of these. But in fact,
both call the same code and if the folder is misnamed, even
the BDMV button would classify the folder as a DVD type.

stringcount--
parent f315dfe1
...@@ -77,25 +77,21 @@ ...@@ -77,25 +77,21 @@
IBOutlet id o_disc_nodisc_view; IBOutlet id o_disc_nodisc_view;
IBOutlet id o_disc_nodisc_lbl; IBOutlet id o_disc_nodisc_lbl;
IBOutlet id o_disc_nodisc_videots_btn; IBOutlet id o_disc_nodisc_videots_btn;
IBOutlet id o_disc_nodisc_bdmv_btn;
IBOutlet id o_disc_audiocd_view; IBOutlet id o_disc_audiocd_view;
IBOutlet id o_disc_audiocd_lbl; IBOutlet id o_disc_audiocd_lbl;
IBOutlet id o_disc_audiocd_trackcount_lbl; IBOutlet id o_disc_audiocd_trackcount_lbl;
IBOutlet id o_disc_audiocd_videots_btn; IBOutlet id o_disc_audiocd_videots_btn;
IBOutlet id o_disc_audiocd_bdmv_btn;
IBOutlet id o_disc_dvd_view; IBOutlet id o_disc_dvd_view;
IBOutlet id o_disc_dvd_lbl; IBOutlet id o_disc_dvd_lbl;
IBOutlet id o_disc_dvd_disablemenus_btn; IBOutlet id o_disc_dvd_disablemenus_btn;
IBOutlet id o_disc_dvd_videots_btn; IBOutlet id o_disc_dvd_videots_btn;
IBOutlet id o_disc_dvd_bdmv_btn;
IBOutlet id o_disc_dvdwomenus_view; IBOutlet id o_disc_dvdwomenus_view;
IBOutlet id o_disc_dvdwomenus_lbl; IBOutlet id o_disc_dvdwomenus_lbl;
IBOutlet id o_disc_dvdwomenus_enablemenus_btn; IBOutlet id o_disc_dvdwomenus_enablemenus_btn;
IBOutlet id o_disc_dvdwomenus_videots_btn; IBOutlet id o_disc_dvdwomenus_videots_btn;
IBOutlet id o_disc_dvdwomenus_bdmv_btn;
IBOutlet id o_disc_dvdwomenus_title; IBOutlet id o_disc_dvdwomenus_title;
IBOutlet id o_disc_dvdwomenus_title_lbl; IBOutlet id o_disc_dvdwomenus_title_lbl;
IBOutlet id o_disc_dvdwomenus_title_stp; IBOutlet id o_disc_dvdwomenus_title_stp;
...@@ -106,7 +102,6 @@ ...@@ -106,7 +102,6 @@
IBOutlet id o_disc_vcd_view; IBOutlet id o_disc_vcd_view;
IBOutlet id o_disc_vcd_lbl; IBOutlet id o_disc_vcd_lbl;
IBOutlet id o_disc_vcd_videots_btn; IBOutlet id o_disc_vcd_videots_btn;
IBOutlet id o_disc_vcd_bdmv_btn;
IBOutlet id o_disc_vcd_title; IBOutlet id o_disc_vcd_title;
IBOutlet id o_disc_vcd_title_lbl; IBOutlet id o_disc_vcd_title_lbl;
IBOutlet id o_disc_vcd_title_stp; IBOutlet id o_disc_vcd_title_stp;
...@@ -117,7 +112,6 @@ ...@@ -117,7 +112,6 @@
IBOutlet id o_disc_bd_view; IBOutlet id o_disc_bd_view;
IBOutlet id o_disc_bd_lbl; IBOutlet id o_disc_bd_lbl;
IBOutlet id o_disc_bd_videots_btn; IBOutlet id o_disc_bd_videots_btn;
IBOutlet id o_disc_bd_bdmv_btn;
/* open network */ /* open network */
IBOutlet id o_net_http_url; IBOutlet id o_net_http_url;
......
...@@ -154,31 +154,24 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -154,31 +154,24 @@ static VLCOpen *_o_sharedMainInstance = nil;
[o_disc_selector_pop removeAllItems]; [o_disc_selector_pop removeAllItems];
[o_disc_selector_pop setHidden: NO]; [o_disc_selector_pop setHidden: NO];
NSString *o_videots = _NS("Open VIDEO_TS folder"); NSString *o_videots = _NS("Open VIDEO_TS / BDMV folder");
NSString *o_bdmv = _NS("Open BDMV folder");
[o_disc_nodisc_lbl setStringValue: _NS("Insert Disc")]; [o_disc_nodisc_lbl setStringValue: _NS("Insert Disc")];
[o_disc_nodisc_videots_btn setTitle: o_videots]; [o_disc_nodisc_videots_btn setTitle: o_videots];
[o_disc_nodisc_bdmv_btn setTitle: o_bdmv];
[o_disc_audiocd_lbl setStringValue: _NS("Audio CD")]; [o_disc_audiocd_lbl setStringValue: _NS("Audio CD")];
[o_disc_audiocd_trackcount_lbl setStringValue: @""]; [o_disc_audiocd_trackcount_lbl setStringValue: @""];
[o_disc_audiocd_videots_btn setTitle: o_videots]; [o_disc_audiocd_videots_btn setTitle: o_videots];
[o_disc_audiocd_bdmv_btn setTitle: o_bdmv];
[o_disc_dvd_lbl setStringValue: @""]; [o_disc_dvd_lbl setStringValue: @""];
[o_disc_dvd_disablemenus_btn setTitle: _NS("Disable DVD menus")]; [o_disc_dvd_disablemenus_btn setTitle: _NS("Disable DVD menus")];
[o_disc_dvd_videots_btn setTitle: o_videots]; [o_disc_dvd_videots_btn setTitle: o_videots];
[o_disc_dvd_bdmv_btn setTitle: o_bdmv];
[o_disc_dvdwomenus_lbl setStringValue: @""]; [o_disc_dvdwomenus_lbl setStringValue: @""];
[o_disc_dvdwomenus_enablemenus_btn setTitle: _NS("Enable DVD menus")]; [o_disc_dvdwomenus_enablemenus_btn setTitle: _NS("Enable DVD menus")];
[o_disc_dvdwomenus_videots_btn setTitle: o_videots]; [o_disc_dvdwomenus_videots_btn setTitle: o_videots];
[o_disc_dvdwomenus_bdmv_btn setTitle: o_bdmv];
[o_disc_dvdwomenus_title_lbl setStringValue: _NS("Title")]; [o_disc_dvdwomenus_title_lbl setStringValue: _NS("Title")];
[o_disc_dvdwomenus_chapter_lbl setStringValue: _NS("Chapter")]; [o_disc_dvdwomenus_chapter_lbl setStringValue: _NS("Chapter")];
[o_disc_vcd_title_lbl setStringValue: _NS("Title")]; [o_disc_vcd_title_lbl setStringValue: _NS("Title")];
[o_disc_vcd_chapter_lbl setStringValue: _NS("Chapter")]; [o_disc_vcd_chapter_lbl setStringValue: _NS("Chapter")];
[o_disc_vcd_videots_btn setTitle: o_videots]; [o_disc_vcd_videots_btn setTitle: o_videots];
[o_disc_vcd_bdmv_btn setTitle: o_bdmv];
[o_disc_bd_videots_btn setTitle: o_videots]; [o_disc_bd_videots_btn setTitle: o_videots];
[o_disc_bd_bdmv_btn setTitle: o_bdmv];
[o_net_udp_port_lbl setStringValue: _NS("Port")]; [o_net_udp_port_lbl setStringValue: _NS("Port")];
[o_net_udpm_addr_lbl setStringValue: _NS("IP Address")]; [o_net_udpm_addr_lbl setStringValue: _NS("IP Address")];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment