void EditModsActivated(object sender, EventArgs e) { using (EditModsDialog emd = new EditModsDialog(SelectedInst, this)) { //emd.ParentWindow = this.GdkWindow; emd.Response += (object o, ResponseArgs args) => { if (args.ResponseId == ResponseType.Ok) { RebuildMCJar(SelectedInst); } emd.Destroy(); }; HintDialog.ShowHint(emd, Hint.EditModsHint); emd.Run(); } }
void EditModsActivated(object sender, EventArgs e) { EditModsDialog emd = new EditModsDialog(SelectedInst, this); emd.ParentWindow = this.GdkWindow; emd.Run(); }