diff options
author | Jérémie Laval <jeremie.laval@gmail.com> | 2012-12-11 13:54:16 +0400 |
---|---|---|
committer | Jérémie Laval <jeremie.laval@gmail.com> | 2012-12-11 13:54:16 +0400 |
commit | a22b8f1d4b5522d86f90a71f7aea7db9285b8f1e (patch) | |
tree | e9f07d467607025df5243aba11220ce1b774745c | |
parent | f0af9bf24fcb1f9fbab7b1cfdaaef6a9b0d230ee (diff) |
[macdoc] Add missing property name change
-rw-r--r-- | MyDocument.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MyDocument.cs b/MyDocument.cs index 7f2eecd..8fe7923 100644 --- a/MyDocument.cs +++ b/MyDocument.cs @@ -123,7 +123,7 @@ namespace macdoc { outlineView.DataSource = new DocTreeDataSource (this); outlineView.Delegate = new OutlineDelegate (this); - if (AppDelegate.IsOnLion) + if (AppDelegate.IsOnLionOrBetter) outlineView.EnclosingScrollView.HorizontalScrollElasticity = outlineView.EnclosingScrollView.VerticalScrollElasticity = NSScrollElasticity.None; } @@ -155,7 +155,7 @@ namespace macdoc void SetupBookmarks () { - if (!AppDelegate.IsOnLion){ + if (!AppDelegate.IsOnLionOrBetter){ addBookmarkBtn.Hidden = true; viewBookmarksBtn.Hidden = true; @@ -263,7 +263,7 @@ namespace macdoc if (ts < loadUrlTimestamp) return; currentUrl = node == null ? url : node.PublicUrl; - if (AppDelegate.IsOnLion) + if (AppDelegate.IsOnLionOrBetter) InvalidateRestorableState (); if (addToHistory) history.AppendHistory (new LinkPageVisit (this, currentUrl)); |