Commit c20e3aa9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: paste the UDP/RTP MRL to the URL field once the sheet is dismissed so...

macosx: paste the UDP/RTP MRL to the URL field once the sheet is dismissed so the user can see that the selection actually worked. No functional change.
parent d5b26ea0
......@@ -190,7 +190,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[o_net_udpm_port_lbl setStringValue: _NS("Port")];
[o_net_http_url_lbl setStringValue: _NS("URL")];
[o_net_help_lbl setStringValue: _NS("To Open a usual network stream (HTTP, RTSP, MMS, FTP, etc.), just enter the URL in the field above. If you want to open a RTP or UDP stream, press the button below.")];
[o_net_help_udp_lbl setStringValue: _NS("If you want to open a multicast stream, enter the respective IP address given by the stream provider. In unicast mode, VLC use your machine's IP automatically.\n\nTo open a stream using a different protocol, just press Cancel to close this sheet.")];
[o_net_help_udp_lbl setStringValue: _NS("If you want to open a multicast stream, enter the respective IP address given by the stream provider. In unicast mode, VLC will use your machine's IP automatically.\n\nTo open a stream using a different protocol, just press Cancel to close this sheet.")];
[o_net_udp_cancel_btn setTitle: _NS("Cancel")];
[o_net_udp_ok_btn setTitle: _NS("Open")];
[o_net_openUDP_btn setTitle: _NS("Open RTP/UDP Stream")];
......@@ -902,6 +902,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
}
}
[o_mrl setStringValue: o_mrl_string];
[o_net_http_url setStringValue: o_mrl_string];
[o_net_udp_panel orderOut: sender];
[NSApp endSheet: o_net_udp_panel];
}
......
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