* Hide the import/export button, and set the new identity CheckBox set checked, when start a new Profile generation from Profile Manager.

* Set PluginItem icon size to 24

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-08-15 09:34:24 +00:00
parent cfe72859bf
commit 26109d88c4
4 changed files with 24 additions and 6 deletions

View file

@ -143,8 +143,8 @@ void GenCertDialog::newGPGKeyGenUiSetup() {
ui.password_input->hide();
ui.genPGPuserlabel->show();
ui.genPGPuser->show();
ui.exportIdentity_PB->show() ;
ui.importIdentity_PB->show() ;
ui.exportIdentity_PB->show() ;
ui.importIdentity_PB->show() ;
setWindowTitle(tr("Create new Location"));
ui.genButton->setText(tr("Generate new Location"));
ui.label_3->setText( titleStr.arg( tr("Create a new Location") ) ) ;
@ -255,6 +255,7 @@ void GenCertDialog::genPerson()
ui.genButton->hide();
ui.label_location2->hide();
ui.importIdentity_PB->hide();
// QMessageBox::StandardButton info = QMessageBox::information(this,
// "Generating GPG key",
// "This process can take some time (approximately one minute), please be patient after pressing the OK button",
@ -376,3 +377,10 @@ void GenCertDialog::loadCertificates()
}
}
void GenCertDialog::hideButtons()
{
ui.exportIdentity_PB->hide() ;
ui.importIdentity_PB->hide() ;
ui.new_gpg_key_checkbox->setChecked(true);
newGPGKeyGenUiSetup();
}