[mono/monodevelop] a58b6f9f: Bug 7595 - When opening a file, display path relative to solution directory
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <000001428ad45d95-18165eb4-939c-415c-8083-2389dee4404b-000000@email.amazonses.com> |
Branch: refs/heads/bug7595
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/commit/a58b6f9fa98e
Commit: a58b6f9fa98ebf7ea192a72dc79cdf66171a4cd4
Author: Therzok <[email protected]> (Therzok)
Date: 2013-11-24 15:53:57 GMT
URL: https://github.com/mono/monodevelop/commit/a58b6f9fa98ebf7ea192a72dc79cdf66171a4cd4
Bug 7595 - When opening a file, display path relative to solution directory
Changed paths:
M main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs
Modified: main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs
===================================================================
@@ -478,7 +478,9 @@ public Document OpenDocument (FileOpenInformation info)
}
Counters.OpenDocumentTimer.Trace ("Initializing monitor");
IProgressMonitor pm = ProgressMonitors.GetStatusProgressMonitor (
- GettextCatalog.GetString ("Opening {0}", info.FileName),
+ GettextCatalog.GetString ("Opening {0}", IdeApp.ProjectOperations.CurrentSelectedSolution != null ?
+ info.FileName.ToRelative (IdeApp.ProjectOperations.CurrentSelectedSolution.BaseDirectory) :
+ info.FileName),
Stock.StatusSolutionOperation,
true
);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches