diff -r c7ae8642a8d8 -r 879e47e5b731 eps_win.cc --- a/eps_win.cc Wed May 02 20:33:58 2007 +0000 +++ b/eps_win.cc Wed Jan 02 21:03:09 2008 +0000 @@ -31,7 +31,7 @@ return true; } -EpsWin::EpsWin(const std::string& title, std::vector nml):Gtk::Dialog(title, true, true) +EpsWin::EpsWin(const std::string& title, std::vector n_nml, std::vector s_nml):Gtk::Dialog(title, true, true) { set_default_size(200, 50); @@ -57,7 +57,7 @@ (*table).attach(*(options[i]),0,1,i,i+1,Gtk::FILL,Gtk::SHRINK,10,3); } - mapselector=new MapSelector(nml, "", "Nodeshapes", false); + mapselector=new MapSelector(n_nml, s_nml, "", "Nodeshapes", false, true, NUM); mapselector->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &EpsWin::newMapWinNeeded)); hbox.pack_start(*(new Gtk::Label("Filename"))); @@ -104,7 +104,7 @@ signal_new_map.emit(false); } -void EpsWin::registerNewNodeMap(std::string newmapname) +void EpsWin::registerNewNodeMap(std::string newmapname, MapValue::Type type) { - mapselector->append_text((Glib::ustring)newmapname); + mapselector->append_text((Glib::ustring)newmapname, type); }