private void OnImport(object o, EventArgs args) { var dialog = new Banshee.Library.Gui.ImportDialog(); var res = dialog.Run(); var src = dialog.ActiveSource; dialog.Destroy(); if (res == Gtk.ResponseType.Ok) { src.Import(); } }
private void OnImport (object o, EventArgs args) { var dialog = new Banshee.Library.Gui.ImportDialog (); var res = dialog.Run (); var src = dialog.ActiveSource; dialog.Destroy (); if (res == Gtk.ResponseType.Ok) { src.Import (); } }