~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/StatusProgressMonitor.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                                statusBar.ShowMessage (icon, CurrentTask);
65
65
                        if (!UnknownWork)
66
66
                                statusBar.SetProgressFraction (GlobalWork);
67
 
                        DispatchService.RunPendingEvents ();
 
67
                        RunPendingEvents ();
68
68
                }
69
69
                
70
70
                public void UpdateStatusBar ()
97
97
                                
98
98
                                base.OnCompleted ();
99
99
                                
100
 
                                if (showErrorDialogs) {
101
 
                                        MultiMessageDialog resultDialog = new MultiMessageDialog ();
102
 
                                        foreach (string m in Errors)
103
 
                                                resultDialog.AddError (m);
104
 
                                        foreach (string m in Warnings)
105
 
                                                resultDialog.AddWarning (m);
106
 
                                        resultDialog.TransientFor = IdeApp.Workbench.RootWindow;
107
 
                                        resultDialog.Run ();
108
 
                                        resultDialog.Destroy ();
109
 
                                }
 
100
                                if (showErrorDialogs)
 
101
                                        ShowResultDialog ();
 
102
                                
110
103
                                IdeApp.Workbench.StatusBar.SetMessageSourcePad (statusSourcePad);
111
104
                                return;
112
105
                        }