Changeset 100

Show
Ignore:
Timestamp:
08/19/08 02:57:11 (4 months ago)
Author:
bi..@lilyapp.org
Message:

backing out the threading code for saveas as it crashes on linux/windows.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lily/lily/chrome/content/lily.js

    r99 r100  
    881881 
    882882                if(exportParams.saved) { 
    883                         Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
     883                        //Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
    884884                        Lily.getCurrentPatch().patchView.setWindowStatusText("Saving as addon...")                       
    885                         LilyUtils.runInBackGround(function(){ 
     885                        //LilyUtils.runInBackGround(function(){ 
    886886                                LilyPatchExporter.savePatchAsAddOn(exportParams);        
    887                         },function(){ 
    888                               Lily.getCurrentPatch().patchView.showWindowStatusActivity(false); 
     887                        //},function(){ 
     888                        //    Lily.getCurrentPatch().patchView.showWindowStatusActivity(false); 
    889889                                Lily.getCurrentPatch().patchView.clearWindowStatusText();                                
    890                         }) 
     890                        //}) 
    891891                } 
    892892                 
     
    907907                 
    908908                if(exportParams.saved) { 
    909                         Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
     909                        //Lily.getCurrentPatch().patchView.showWindowStatusActivity(true); 
    910910                        Lily.getCurrentPatch().patchView.setWindowStatusText("Saving as app...")                         
    911                         LilyUtils.runInBackGround(function(){ 
     911                        //LilyUtils.runInBackGround(function(){ 
    912912                                LilyPatchExporter.savePatchAsApp(exportParams);  
    913                         },function(){ 
    914                               Lily.getCurrentPatch().patchView.showWindowStatusActivity(false); 
     913                        //},function(){ 
     914                        //    Lily.getCurrentPatch().patchView.showWindowStatusActivity(false); 
    915915                                Lily.getCurrentPatch().patchView.clearWindowStatusText();                                
    916                         }) 
     916                        //}) 
    917917                }                
    918918