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-07 19:18:38 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-03-07 19:18:38 +0400
commitf6273b5c1a033e24041bf1e523f540c17a69486e (patch)
treeaca97e55f1ae454065b5663af36a44171aba61b5 /MyDocument.cs
parent335b4cc9bed03da7fba42dc64fa09fb10e5df582 (diff)
[macdoc] Put a spinner during creation on index tab too
Diffstat (limited to 'MyDocument.cs')
-rw-r--r--MyDocument.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MyDocument.cs b/MyDocument.cs
index f0f6b23..980c52f 100644
--- a/MyDocument.cs
+++ b/MyDocument.cs
@@ -183,6 +183,8 @@ namespace macdoc
InvokeOnMainThread (delegate {
spinnerWidget.StopAnimation (this);
spinnerView.Hidden = true;
+ indexSpinnerWidget.StopAnimation (this);
+ indexSpinnerView.Hidden = true;
searchIndex = AppDelegate.Root.GetSearchIndex ();
indexSearchEntry.Enabled = true;
mdocSearch.Index = AppDelegate.Root.GetIndex ();
@@ -192,6 +194,8 @@ namespace macdoc
InvokeOnMainThread (delegate {
spinnerView.Hidden = false;
spinnerWidget.StartAnimation (this);
+ indexSpinnerView.Hidden = false;
+ indexSpinnerWidget.StartAnimation (this);
indexSearchEntry.Enabled = false;
});
}