]> git.sesse.net Git - vlc/commitdiff
macosx: paste the UDP/RTP MRL to the URL field once the sheet is dismissed so the...
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 5 Apr 2009 22:21:58 +0000 (00:21 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 5 Apr 2009 22:22:17 +0000 (00:22 +0200)
modules/gui/macosx/open.m

index d125a22497d32041599dd3ffcd69dc3736a66f28..d0f99f045e07f26680e7fa717987ce29ef9af13a 100644 (file)
@@ -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];
     }