1.1 --- a/nbtab.cc Thu Mar 01 14:45:07 2007 +0000
1.2 +++ b/nbtab.cc Thu Mar 01 16:28:13 2007 +0000
1.3 @@ -223,6 +223,10 @@
1.4 {
1.5 mapwin->registerNewNodeMap(mapname);
1.6 }
1.7 + if(epswinexists)
1.8 + {
1.9 + epswin->registerNewNodeMap(mapname);
1.10 + }
1.11 }
1.12
1.13 void NoteBookTab::createMapWin(std::string name)
1.14 @@ -240,11 +244,12 @@
1.15 {
1.16 if(!epswinexists)
1.17 {
1.18 - epswin=new EpsWin("Export to EPS - "+name);
1.19 + epswin=new EpsWin("Export to EPS - "+name, mapstorage->getNodeMapList());
1.20 epswin->show();
1.21 epswinexists=true;
1.22 epswin->signal_eps_details_ch().connect(sigc::mem_fun(*this, &NoteBookTab::exportGraphToEPS));
1.23 epswin->signal_eps_close_ch().connect(sigc::mem_fun(*this, &NoteBookTab::closeEpsWin));
1.24 + epswin->signal_new_map_ch().connect(sigc::mem_fun(*this, &NoteBookTab::popupNewMapWin));
1.25 }
1.26 }
1.27
1.28 @@ -320,9 +325,9 @@
1.29 mapstorage->broadcastActiveMaps();
1.30 }
1.31
1.32 -void NoteBookTab::exportGraphToEPS(std::vector<bool> options, std::string filename)
1.33 +void NoteBookTab::exportGraphToEPS(std::vector<bool> options, std::string filename, std::string shapemap)
1.34 {
1.35 - mapstorage->exportGraphToEPS(options, filename);
1.36 + mapstorage->exportGraphToEPS(options, filename, shapemap);
1.37 }
1.38
1.39 void NoteBookTab::title_changed(std::string newtitle)