diff options
author | Jeremie Laval <jeremie.laval@gmail.com> | 2012-03-07 19:18:38 +0400 |
---|---|---|
committer | Jeremie Laval <jeremie.laval@gmail.com> | 2012-03-07 19:18:38 +0400 |
commit | f6273b5c1a033e24041bf1e523f540c17a69486e (patch) | |
tree | aca97e55f1ae454065b5663af36a44171aba61b5 /MyDocument.cs | |
parent | 335b4cc9bed03da7fba42dc64fa09fb10e5df582 (diff) |
[macdoc] Put a spinner during creation on index tab too
Diffstat (limited to 'MyDocument.cs')
-rw-r--r-- | MyDocument.cs | 4 |
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; }); } |