}
set_size_request(image->get_width(), image->get_height());
name = "or";
- menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem("Conectar", menu_image_linea,SigC::slot(*this, &CItem::on_menu_popup_conectar) ) ) ;
}
Or::~Or()
for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
if ( vec_connector[i].type == IN ) {
if ( vec_connector[i].cistern_connector == 1 ) {
- dato += "\t\t<entrada><tanque id = \"superior\">";
- dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+ dato += "\t\t<entrada id = \"superior\">";
+ dato += vec_connector[i].name_dest + "</entrada>\n";
}
if ( vec_connector[i].cistern_connector == 0 ) {
- dato += "\t\t<entrada><tanque id = \"inferior\">";
- dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+ dato += "\t\t<entrada id = \"inferior\">";
+ dato += vec_connector[i].name_dest + "</entrada>\n";
}
if ( vec_connector[i].cistern_connector == -1 ) {
dato += "\t\t<entrada>";