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

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/CheckoutCommand.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:
37
37
                
38
38
                protected override string GetDescription ()
39
39
                {
40
 
                        return GettextCatalog.GetString ("Checkout {0}...", path);
 
40
                        return GettextCatalog.GetString ("Checking out {0}...", path);
 
41
                }
 
42
                
 
43
                protected override IProgressMonitor CreateProgressMonitor ()
 
44
                {
 
45
                        return new MonoDevelop.Core.ProgressMonitoring.AggregatedProgressMonitor (
 
46
                                new MonoDevelop.Ide.ProgressMonitoring.MessageDialogProgressMonitor (true, true, true, true),
 
47
                                base.CreateProgressMonitor ()
 
48
                        );
41
49
                }
42
50
                
43
51
                protected override void Run () 
69
77
                                }       
70
78
                        }
71
79
                        
72
 
                        if (projectFn != null)
73
 
                                IdeApp.Workspace.OpenWorkspaceItem (projectFn);
 
80
                        if (projectFn != null) {
 
81
                                DispatchService.GuiDispatch (delegate {
 
82
                                        IdeApp.Workspace.OpenWorkspaceItem (projectFn);
 
83
                                });
 
84
                        }
74
85
                        
75
86
                        Monitor.ReportSuccess (GettextCatalog.GetString ("Solution checked out"));
76
87
                }