diff -r abac0179a26a -r 0bb1675306cb main_win.cc --- a/main_win.cc Mon Jun 06 17:01:12 2005 +0000 +++ b/main_win.cc Fri Jun 10 11:58:03 2005 +0000 @@ -1,7 +1,7 @@ #include MainWin::MainWin(const std::string& title, Graph & graph, CoordinatesMap & cm, - MapStorage & ms):mapwin("Map Setup", ms, gd_canvas),gd_canvas(graph, cm, ms) + MapStorage & ms):mapwin("Map Setup", ms, gd_canvas),editwin("Editorial Window", gd_canvas),gd_canvas(graph, cm, ms) { set_title (title); set_default_size(WIN_WIDTH,WIN_HEIGHT); @@ -34,6 +34,8 @@ ag->add( Gtk::Action::create("ShowMenu", "_Show") ); ag->add( Gtk::Action::create("ShowMaps", "_Maps"), sigc::mem_fun(*this, &MainWin::showMaps)); + ag->add( Gtk::Action::create("ShowEditorials", "_Editorials"), + sigc::mem_fun(*this, &MainWin::showEditorials)); uim=Gtk::UIManager::create(); uim->insert_action_group(ag); @@ -60,6 +62,7 @@ " " " " " " + " " " " " " " " @@ -107,6 +110,11 @@ mapwin.show(); } +void MainWin::showEditorials() +{ + editwin.show(); +} + void MainWin::quit() { hide();