Banshee.Gui.GlobalActions.OnOpenLocation C# (CSharp) Method

OnOpenLocation() private method

private OnOpenLocation ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void
        private void OnOpenLocation (object o, EventArgs args)
        {
            OpenLocationDialog dialog = new OpenLocationDialog ();
            ResponseType response = dialog.Run ();
            string address = dialog.Address;
            dialog.Destroy ();

            if (response == ResponseType.Ok) {
                RadioTrackInfo.OpenPlay (address);
            }
        }