protected override void OnResponse(Gtk.ResponseType type) { base.OnResponse(type); if (type != Gtk.ResponseType.Ok) { changeSet.GlobalComment = oldMessage; EndCommit(false); } else if (!ButtonCommitClicked()) { return; } if (type == Gtk.ResponseType.Ok) { VersionControlService.NotifyBeforeCommit(vc, changeSet); new CommitWorker(vc, changeSet, this).StartAsync(); return; } }