Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'windoc/WinDoc/MainWindow.cs')
-rw-r--r--windoc/WinDoc/MainWindow.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/windoc/WinDoc/MainWindow.cs b/windoc/WinDoc/MainWindow.cs
index d6c39e6e..fac77cd0 100644
--- a/windoc/WinDoc/MainWindow.cs
+++ b/windoc/WinDoc/MainWindow.cs
@@ -74,6 +74,12 @@ namespace WinDoc
LoadUrl (url, true);
nav.Cancel = true;
};
+ docBrowser.StatusTextChanged += (s, _) => {
+ var t = docBrowser.StatusText;
+ if (t.StartsWith("file:///"))
+ t = t.Remove(0, "file:///".Length);
+ docBrowserStatusLabel.Text = t;
+ };
LoadUrl (string.IsNullOrEmpty (initialUrl) ? "root:" : initialUrl, syncTreeView: true);
}