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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide/HelpOperations.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-05-27 18:08:20 UTC
  • mfrom: (1.8.5) (1.5.8 sid)
  • Revision ID: package-import@ubuntu.com-20120527180820-f1ub6lhg0s50wci1
Tags: 3.0.2+dfsg-3
* [fcecfe7] Fix monodevelop-core-addins.pc.in to point to actual 
  installed location of assemblies.
* [26e1a07] DebSrc 3.0 does not support Quilt's -p parameter, so 
  manually adjust the path in the patch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
using MonoDevelop.Core.Execution;
34
34
using System.IO;
35
35
using MonoDevelop.Core;
36
 
using MonoDevelop.Projects.Dom;
37
 
using MonoDevelop.Projects.Dom.Parser;
38
36
using MonoDevelop.Projects;
 
37
using ICSharpCode.NRefactory.Semantics;
39
38
 
40
39
namespace MonoDevelop.Ide
41
40
{
62
61
                                else
63
62
                                        System.Diagnostics.Process.Start ("open", url);
64
63
                                return;
 
64
                        } else if (Platform.IsWindows) {
 
65
                                string mdapp = new FilePath (typeof (HelpOperations).Assembly.Location).ParentDirectory.Combine ("windoc", "WinDoc.exe").FullPath;
 
66
                                if (File.Exists (mdapp)) {
 
67
                                        System.Diagnostics.Process.Start (new System.Diagnostics.ProcessStartInfo {
 
68
                                                FileName = mdapp,
 
69
                                                Arguments = "--url \"" + topic + '"' + DirArgs,
 
70
                                                WorkingDirectory = Path.GetDirectoryName (mdapp),
 
71
                                        });
 
72
                                        return;
 
73
                                }
65
74
                        }
66
75
        
67
76
                        if (firstCall)