resource_definition->name = CORBA::string_dup(new_resource.name.c_str());
resource_definition->hostname = CORBA::string_dup(new_resource.hostname.c_str());
- if (new_resource.batch == "ssh_batch")
+ if (new_resource.batch == "none")
resource_definition->type = CORBA::string_dup("single_machine");
else
resource_definition->type = CORBA::string_dup("cluster");
QLabel * batch_label = new QLabel("Batch Manager:");
_batch_line = new QComboBox(this);
- _batch_line->addItem("None", "ssh_batch");
+ _batch_line->addItem("None", "none");
_batch_line->addItem("CCC", "ccc");
_batch_line->addItem("LSF", "lsf");
_batch_line->addItem("SGE", "sge");