/[ghosts]/ghosts/gedcomviewer/src/MMIglade/src/OneSpouseToFamilyLink.cc
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/MMIglade/src/OneSpouseToFamilyLink.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by cpcp, Mon Mar 17 20:45:06 2003 UTC revision 1.5 by cpcp, Wed Mar 26 10:37:36 2003 UTC
# Line 28  OneSpouseToFamilyLink::OneSpouseToFamily Line 28  OneSpouseToFamilyLink::OneSpouseToFamily
28    OneSpouseToFamilyLink_glade(),    OneSpouseToFamilyLink_glade(),
29    OneFamilyLink(handler)    OneFamilyLink(handler)
30  {  {
31    OneSpouseToFamilyLinkHandler const * const spouse_to_family_link_handler = static_cast <  OneSpouseToFamilyLinkHandler const * const >(handler);    ManageFamilyLinkHandler(handler, _husband, _wife, _goto_husband, _goto_wife);
32        
33      OneSpouseToFamilyLinkHandler const * const spouse_to_family_link_handler = static_cast <  OneSpouseToFamilyLinkHandler const * const >(handler);
34    _union_date->set_text(spouse_to_family_link_handler->getUnionDate());    _union_date->set_text(spouse_to_family_link_handler->getUnionDate());
35    UnionPlace->set_text(spouse_to_family_link_handler->getUnionPlace());    UnionPlace->set_text(spouse_to_family_link_handler->getUnionPlace());
   _husband->set_text(spouse_to_family_link_handler->getHusband());  
   OneFamilyLinkHandler::SlotHandler_t * slot_husband = spouse_to_family_link_handler->getSlotHusband();  
   if (slot_husband != 0)  
     {  
       _goto_husband->button_release_event.connect(*slot_husband);  
     }  
   _wife->set_text(spouse_to_family_link_handler->getWife());  
   OneFamilyLinkHandler::SlotHandler_t * slot_wife = spouse_to_family_link_handler->getSlotWife();  
   if (slot_wife != 0)  
     {  
       _goto_wife->button_release_event.connect(*slot_wife);  
     }  
36    std::vector< std::string > children = spouse_to_family_link_handler->getChildren();    std::vector< std::string > children = spouse_to_family_link_handler->getChildren();
37    std::vector< OneFamilyLinkHandler::SlotHandler_t * >  slots_children = spouse_to_family_link_handler->getSlotsChildren();      std::vector< OneFamilyLinkHandler::NavigationSlotHandler_t * >  slots_children = spouse_to_family_link_handler->getNavigationSlotsChildren();  
38    for (unsigned int cpt_child = 0; cpt_child < children.size(); cpt_child++)    for (unsigned int cpt_child = 0; cpt_child < children.size(); cpt_child++)
39      {      {
40        Gtk::Button * goto_child = manage(new Gtk::Button(children[cpt_child]));        Gtk::Button * goto_child = manage(new Gtk::Button(children[cpt_child]));

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26