~ubuntu-branches/ubuntu/natty/monodevelop/natty

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20080329233633-l550uuwvfh1e68at
Tags: upstream-1.0+dfsg
ImportĀ upstreamĀ versionĀ 1.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        {
72
72
                protected override void Run ()
73
73
                {
74
 
                        NewFileDialog fd = new NewFileDialog (null, null);
75
 
                        fd.Run ();
 
74
                        using (NewFileDialog fd = new NewFileDialog (null, null)) {
 
75
                                fd.Run ();
 
76
                        }
76
77
                }
77
78
        }
78
79
        
146
147
                {
147
148
                        OpenFileInSolutionDialog.Show (true);
148
149
                }
 
150
                
 
151
                protected override void Update (CommandInfo info)
 
152
                {
 
153
                        info.Enabled = IdeApp.ProjectOperations.CurrentOpenCombine != null;
 
154
                }
149
155
        }
150
156
        
151
157
        internal class CloseCombineHandler : CommandHandler