+ txt_view->get_buffer()->insert_at_cursor(": ");
+ txt_view->get_buffer()->insert_at_cursor(desc);
+ txt_view->get_buffer()->insert_at_cursor("\n");
+}
+
+void Principal::on_conexion_error(unsigned code, const std::string& desc)
+{
+ std::stringstream a;
+ std::string s;
+ a << code;
+ a >> s;
+ txt_view->get_buffer()->insert_at_cursor("El server dice que hay error nro. ");
+ txt_view->get_buffer()->insert_at_cursor(s);
+ txt_view->get_buffer()->insert_at_cursor(": ");
+ txt_view->get_buffer()->insert_at_cursor(desc);