anchor.diff:    }
   }
   
  -class GitPullAction extends SparkActionWithProgressDialog implements ContextAction {
  +class GitPullAction extends SparkActionWithStatusDialog implements ContextAction {
     GitPullAction(Spark spark, SparkDialog dialog)
         : super(spark, "git-pull", "Pull from Origin", dialog);
   
     void _invoke([context]) {
       ws.Project project = context.first.project;
       ScmProjectOperations operations = spark.scmManager.getScmOperationsFor(project);
  -
  -    _dialog.dialog.title = 'Git Pull';
  +    Future f = spark.jobManager.schedule(new _GitPullJob(operations, spark));
  +    _waitForJob(f);
       String branchName = operations.getBranchName();
  -    _setProgressMessage('Updating ${branchName}...');
  -    _toggleProgressVisible(true);
  -
  -    Future f = spark.jobManager.schedule(new _GitPullJob(operations, spark));
  -    // Show dialog for at lest 2 seconds.
  -    Timer timer = new Timer(new Duration(milliseconds: 2000), () {
  -      f.whenComplete(() {
  -        _setProgressMessage('');
  -        _toggleProgressVisible(true);
  -        _hide();
  -      });
  -    });
  -    _show();
  +    _showStatusDialog('Git Pull', 'Updating ${branchName}…');
  +
     }
   
     String get category => 'git';
  
positive.code:     //actionManager.registerAction(new FileOpenAction(this));
      actionManager.registerAction(new FileNewAction(this, getDialogElement('#fileNewDialog')));
      actionManager.registerAction(new FolderNewAction(this, getDialogElement('#folderNewDialog')));
      actionManager.registerAction(new FolderOpenAction(this));
      actionManager.registerAction(new NewProjectAction(this, getDialogElement('#newProjectDialog')));
      actionManager.registerAction(new FileSaveAction(this));
      actionManager.registerAction(new PubGetAction(this));
  
negative.code:   }
  }
  
  class FolderOpenAction extends SparkActionWithStatusDialog {
    static const String DIALOG_TITLE = 'Add Folder to Workspace…';
    FolderOpenAction(Spark spark, SparkDialog dialog)
        : super(spark, "folder-open", DIALOG_TITLE, dialog);
  
    void _invoke([Object context]) {
      Future f = spark.openFolder();
      _waitForJob(f);
      _showStatusDialog(DIALOG_TITLE, 'Adding Folder to WorkSpace…');
    }
  }
  
  