From c20e3aa9ebf9e9137212543cf8752b96bf633b0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 6 Apr 2009 00:21:58 +0200 Subject: [PATCH] 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. --- modules/gui/macosx/open.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m index d125a22497..d0f99f045e 100644 --- a/modules/gui/macosx/open.m +++ b/modules/gui/macosx/open.m @@ -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]; } -- 2.39.2