Example #1
0
 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();
     }
 }
Example #2
0
 void EditModsActivated(object sender, EventArgs e)
 {
     EditModsDialog emd = new EditModsDialog(SelectedInst, this);
     emd.ParentWindow = this.GdkWindow;
     emd.Run();
 }