protected virtual void OnUpdateAll(object sender, System.EventArgs e)
{
object[] data = updatesTree.AddinsData;
AddinRepositoryEntry[] entries = new AddinRepositoryEntry [data.Length];
Array.Copy (data, entries, data.Length);
InstallDialog dlg = new InstallDialog (this, service);
try {
dlg.InitForInstall (entries);
if (dlg.Run () == (int) Gtk.ResponseType.Ok)
LoadAll ();
} finally {
dlg.Destroy ();
}
}