Changeset 6643 for trunk/gli


Ignore:
Timestamp:
2004-01-28T14:53:46+13:00 (20 years ago)
Author:
jmt12
Message:

Yet another valiant, but in vain, attempt to solve the smooty spooty hangs when a modal dialog displayed at the same time you exit bug. Reinstated the code which determines if a modal dialog is being/about to be displayed, and prevents exit. This time I remembered to change the default close operation of the frame as well - not that it helped much.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r6622 r6643  
    147147    this.workspace_tree_sync = new TreeSynchronizer();
    148148   
     149    this.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
     150
    149151    // Add a focus listener to ourselves. Thus if we gain focus when a Modal Dialog should instead have it, we can try to bring the modal dialog to the fore.
    150152    this.addFocusListener(new GLIGUIFocusListener());
     
    365367//          browser_pane.afterDisplay();
    366368//      }
    367     mirror_pane.afterDisplay();
     369    if(mirror_pane != null) {
     370        mirror_pane.afterDisplay();
     371    }
    368372    metaedit_pane.afterDisplay();
    369373    }
Note: See TracChangeset for help on using the changeset viewer.