~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring.IntroduceConstant/IntroduceConstantRefactoring.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
using Mono.TextEditor.Highlighting;
33
33
using MonoDevelop.Projects.Dom.Parser;
34
34
using MonoDevelop.Projects.Dom;
 
35
using MonoDevelop.Ide;
35
36
 
36
37
namespace MonoDevelop.Refactoring.IntroduceConstant
37
38
{
86
87
 
87
88
                public override void Run (RefactoringOptions options)
88
89
                {
89
 
                        IntroduceConstantDialog dialog = new IntroduceConstantDialog (this, options, new Parameters ());
90
 
                        dialog.TransientFor = MonoDevelop.Ide.Gui.IdeApp.Workbench.RootWindow;
91
 
                        dialog.Show ();
 
90
                        MessageService.ShowCustomDialog (new IntroduceConstantDialog (this, options, new Parameters ()));
92
91
                }
93
92
                
94
93
                public static string SearchString (TextEditorData data, char quote, out int start, out int end)