protected override void Run() { SelectRepositoryDialog del = new SelectRepositoryDialog (SelectRepositoryMode.Checkout); try { if (MessageService.RunCustomDialog (del) == (int) Gtk.ResponseType.Ok && del.Repository != null) { CheckoutWorker w = new CheckoutWorker (del.Repository, del.TargetPath); w.Start (); } } finally { del.Destroy (); } }
protected override void Run() { SelectRepositoryDialog del = new SelectRepositoryDialog(SelectRepositoryMode.Checkout); try { if (MessageService.RunCustomDialog(del) == (int)Gtk.ResponseType.Ok && del.Repository != null) { CheckoutWorker w = new CheckoutWorker(del.Repository, del.TargetPath); w.Start(); } } finally { del.Destroy(); } }