public void InstallAddins (AddinRegistry reg, string message, string[] addinIds)
		{
			AddinInstallerDialog dlg = new AddinInstallerDialog (reg, message, addinIds);
			try {
				if (dlg.Run () == (int) Gtk.ResponseType.Cancel)
					throw new InstallException (Catalog.GetString ("Installation cancelled"));
				else if (dlg.ErrMessage != null)
					throw new InstallException (dlg.ErrMessage);
			}
			finally {
				dlg.Destroy ();
			}
		}
        public void InstallAddins(AddinRegistry reg, string message, string[] addinIds)
        {
            AddinInstallerDialog dlg = new AddinInstallerDialog(reg, message, addinIds);

            try {
                if (dlg.Run() == (int)Gtk.ResponseType.Cancel)
                {
                    throw new InstallException(Catalog.GetString("Installation cancelled"));
                }
                else if (dlg.ErrMessage != null)
                {
                    throw new InstallException(dlg.ErrMessage);
                }
            }
            finally {
                dlg.Destroy();
            }
        }