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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.ProgressMonitoring/BaseProgressMonitor.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
                [AsyncDispatch]
152
152
                public virtual void Dispose()
153
153
                {
 
154
                        // Make sure we are done with all pending calls
 
155
                        DispatchService.RunPendingEvents ();
 
156
                        
154
157
                        lock (progressTracker) {
155
158
                                progressTracker.Done ();
156
159
                                if (c.waitEvent != null)
198
201
                        get { return errorsMessages.Count == 0; }
199
202
                }
200
203
                
 
204
                [FreeDispatch]
 
205
                bool IAsyncOperation.SuccessWithWarnings {
 
206
                        [FreeDispatch]
 
207
                        get { return errorsMessages.Count == 0 && warningMessages.Count > 0; }
 
208
                }
 
209
                
201
210
                public bool IsCompleted {
202
211
                        [FreeDispatch]
203
212
                        get { return !progressTracker.InProgress; }