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:
authorJeremie Laval <jeremie.laval@gmail.com>2012-03-06 15:38:31 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-03-06 15:38:31 +0400
commit46ac66f0038074be45406f7cdc8c29a3da8ad02f (patch)
tree2872c67830b97734336a8c0d11c284cd8e624e9f /BookmarkManager.cs
parente2b32ec0a84a33211c5e301297f9c70e94d638de (diff)
Update bookmark spinner showing as we navigate
Diffstat (limited to 'BookmarkManager.cs')
-rw-r--r--BookmarkManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/BookmarkManager.cs b/BookmarkManager.cs
index 3e4b34c..e8a7427 100644
--- a/BookmarkManager.cs
+++ b/BookmarkManager.cs
@@ -105,6 +105,11 @@ namespace macdoc
FireChangedEvent (entry, BookmarkEventType.Modified);
}
+ public int FindIndexOfBookmarkFromUrl (string url)
+ {
+ return bookmarks.FindIndex (entry => entry.Url.Equals (url, StringComparison.InvariantCultureIgnoreCase));
+ }
+
void FireChangedEvent (Entry entry, BookmarkEventType evtType)
{
var temp = BookmarkListChanged;