Ejemplo n.º 1
0
        protected virtual void OnButtonRemoveClicked(object sender, System.EventArgs e)
        {
            TreeIter  iter;
            TreeModel model;

            if (repoTree.Selection.GetSelected(out model, out iter))
            {
                VersionControlService.RemoveRepository(
                    (Repository)store.GetValue(iter, RepositoryCol));
                VersionControlService.SaveConfiguration();
                store.Remove(ref iter);
            }
        }