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

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Laval <jeremie.laval@gmail.com>2013-02-21 23:30:18 +0400
committerJérémie Laval <jeremie.laval@gmail.com>2013-02-21 23:30:30 +0400
commitea5d9f120bab5ac67a5c8fbd70093ea02cd11892 (patch)
treef13e79e5e9d2079168c139e363c97d67ca71fc7d
parentd869408b32a7068669cd62bbc349d3ecb3e96c4e (diff)
[macdoc] Track monomac API break
-rw-r--r--MyDocument.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MyDocument.cs b/MyDocument.cs
index 21e5b88..bc39c4f 100644
--- a/MyDocument.cs
+++ b/MyDocument.cs
@@ -348,13 +348,13 @@ namespace macdoc
void HideMultipleMatches ()
{
- splitView.SetPositionofDivider (splitView.MaxPositionOfDivider (0), 0);
+ splitView.SetPositionOfDivider (splitView.MaxPositionOfDivider (0), 0);
}
void ShowMultipleMatches ()
{
float middle = (splitView.MaxPositionOfDivider (0) - splitView.MinPositionOfDivider (0))/2;
- splitView.SetPositionofDivider (middle, 0);
+ splitView.SetPositionOfDivider (middle, 0);
}
// Action: when the user clicks on the index table view
@@ -455,11 +455,11 @@ namespace macdoc
// Process embedded images coming from doc source
// Because WebView doesn't let me answer a NSUrlRequest myself I have to resort to this piece of crap of a solution
- var imgs = dom.GetElementsByTagName ("img").Where (node => node.Attributes["src"].Value.StartsWith ("source-id"));
+ var imgs = dom.GetElementsByTagName ("img").Where (node => node.Attributes["src"].NodeValue.StartsWith ("source-id"));
byte[] buffer = new byte[4096];
foreach (var img in imgs) {
- var src = img.Attributes["src"].Value;
+ var src = img.Attributes["src"].NodeValue;
var imgStream = AppDelegate.Root.GetImage (src);
if (imgStream == null)
continue;