diff options
author | Ungureanu Marius <teromario@yahoo.com> | 2014-02-07 23:53:53 +0400 |
---|---|---|
committer | Ungureanu Marius <teromario@yahoo.com> | 2014-02-07 23:53:53 +0400 |
commit | 64f01d8c187f826d4de916bb621d1f4edbf9e754 (patch) | |
tree | 5c1274f645a8f72a122d52d4c0cf2f87f582f098 /Mono.Addins.Gui | |
parent | 74f4a210561b2faa5e16f80e2256868f0921d186 (diff) |
Refresh unclickable while updating
Diffstat (limited to 'Mono.Addins.Gui')
-rw-r--r-- | Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs b/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs index fd2c294..493f744 100644 --- a/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs +++ b/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs @@ -421,13 +421,13 @@ namespace Mono.Addins.Gui if (!firstLoad) pdlg.Show (); pdlg.SetMessage (AddinManager.CurrentLocalizer.GetString ("Updating repository")); - bool updateDone = false; + bool updateDone = buttonRefresh.Sensitive = false; Thread t = new Thread (delegate () { try { service.Repositories.UpdateAllRepositories (pdlg); } finally { - updateDone = true; + updateDone = buttonRefresh.Sensitive = true; } }); t.Start (); |