[vlc-devel] commit: 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. ( Felix Paul Kühne )

git version control git at videolan.org
Mon Apr 6 00:22:18 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr  6 00:21:58 2009 +0200| [c20e3aa9ebf9e9137212543cf8752b96bf633b0b] | committer: Felix Paul Kühne 

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.

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

 modules/gui/macosx/open.m |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index d125a22..d0f99f0 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];
     }




More information about the vlc-devel mailing list