MakeBloomPack() private method

private MakeBloomPack ( bool forReaderTools ) : void
forReaderTools bool
return void
Example #1
0
 private void OnMakeBloomPackButton_Click(object sender, EventArgs e)
 {
     // Something in the Mono runtime state machine keeps the GTK filechooser from getting the
     // focus immediately when we invoke _collectionListView.MakeBloomPack() directly at this
     // point.  Waiting for the next idle gets it into a state where the filechooser does receive
     // the focus as desired.  See https://silbloom.myjetbrains.com/youtrack/issue/BL-5809.
     if (SIL.PlatformUtilities.Platform.IsMono)
     {
         Application.Idle += DeferredBloompackFileChooser;
     }
     else
     {
         _collectionListView.MakeBloomPack(false);
     }
 }
Example #2
0
 private void OnMakeBloomPackButton_Click(object sender, EventArgs e)
 {
     _collectionListView.MakeBloomPack(false);
 }