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:
authorJeremie Laval <jeremie.laval@gmail.com>2013-03-13 18:49:21 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2013-03-13 18:49:21 +0400
commit9d28b1bce0697f53f563cbb9a292532eb343bf13 (patch)
tree0f8671cda903da04b7e3d0c083158ece71227507
parentf31727ac8a18760fdd28191a2adea6f70bebe271 (diff)
[windoc] Load the root: URL by default for new documents
-rw-r--r--windoc/WinDoc/MainWindow.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/windoc/WinDoc/MainWindow.cs b/windoc/WinDoc/MainWindow.cs
index b6bcd34e..d6c39e6e 100644
--- a/windoc/WinDoc/MainWindow.cs
+++ b/windoc/WinDoc/MainWindow.cs
@@ -74,8 +74,7 @@ namespace WinDoc
LoadUrl (url, true);
nav.Cancel = true;
};
- if (!string.IsNullOrEmpty (initialUrl))
- LoadUrl (initialUrl, true);
+ LoadUrl (string.IsNullOrEmpty (initialUrl) ? "root:" : initialUrl, syncTreeView: true);
}
void SetupSearch ()