public PushDialog (GitRepository repo) { this.Build (); this.repo = repo; HasSeparator = false; changeList.DiffLoader = DiffLoader; List<string> list = new List<string> (repo.GetNamedRemotes ()); foreach (string s in list) remoteCombo.AppendText (s); remoteCombo.Active = list.IndexOf (repo.GetCurrentRemote ()); UpdateChangeSet (); }