diff -r 5ad61c33487c -r ee009c0f4bcf mapselector.cc --- a/mapselector.cc Thu Oct 20 15:50:23 2005 +0000 +++ b/mapselector.cc Fri Oct 21 13:32:12 2005 +0000 @@ -1,6 +1,6 @@ #include "mapselector.h" -MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, MapWin & mapw, int identifier, bool edge):gdc(grdispc),ms(mapst),mw(mapw),id(identifier),itisedge(edge),default_state(true),node_to_update(INVALID),edge_to_update(INVALID) +MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, NewMapWin & newmapw, int identifier, bool edge):gdc(grdispc),ms(mapst),nmw(newmapw),id(identifier),itisedge(edge),default_state(true),node_to_update(INVALID),edge_to_update(INVALID) { update_list(); @@ -34,6 +34,11 @@ newbut=new Gtk::Button(Gtk::Stock::NEW); + newbut->signal_pressed().connect + ( + sigc::mem_fun(nmw, &NewMapWin::show) + ); + add(*label); add(cbt);