| 23 |
#include "options/Options.hh" |
#include "options/Options.hh" |
| 24 |
#include <gtk--/menu.h> |
#include <gtk--/menu.h> |
| 25 |
#include <gtk--/menushell.h> |
#include <gtk--/menushell.h> |
| 26 |
|
#include <iostream> |
| 27 |
|
|
| 28 |
BakeryGateway::ViewIndividualRecord::ViewIndividualRecord(MMIIndividualRecord * mmi) : |
BakeryGateway::ViewIndividualRecord::ViewIndividualRecord(MMIIndividualRecord * mmi) : |
| 29 |
_mmi_individual_record(mmi), |
_mmi_individual_record(mmi), |
| 143 |
|
|
| 144 |
void BakeryGateway::ViewIndividualRecord::Goto(std::string const &key) |
void BakeryGateway::ViewIndividualRecord::Goto(std::string const &key) |
| 145 |
{ |
{ |
| 146 |
|
std::cerr << "BakeryGateway::ViewIndividualRecord::Goto START" << std::endl; |
| 147 |
if (_individuals.size() != 0) |
if (_individuals.size() != 0) |
| 148 |
{ |
{ |
| 149 |
GEDCOMParser::IndividualRecords_t::const_iterator iter = _individuals.find(key); |
GEDCOMParser::IndividualRecords_t::const_iterator iter = _individuals.find(key); |
| 150 |
if (iter != _individuals.end()) |
if (iter != _individuals.end()) |
| 151 |
{ |
{ |
| 152 |
|
std::cerr << "BakeryGateway::ViewIndividualRecord::Goto ITER FOUND" << std::endl; |
| 153 |
SetCurrentIndividu(iter); |
SetCurrentIndividu(iter); |
| 154 |
|
std::cerr << "BakeryGateway::ViewIndividualRecord::Goto SetCurrentIndividu DONE" << std::endl; |
| 155 |
} |
} |
| 156 |
} |
} |
| 157 |
|
std::cerr << "BakeryGateway::ViewIndividualRecord::Goto END" << std::endl; |
| 158 |
return; |
return; |
| 159 |
} |
} |
| 160 |
|
|