1.1 --- a/main_win.cc Fri Jul 22 11:04:27 2005 +0000
1.2 +++ b/main_win.cc Mon Jul 25 10:33:03 2005 +0000
1.3 @@ -49,6 +49,10 @@
1.4 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 4) );
1.5 ag->add( Gtk::Action::create("EditNodeMap", Gtk::Stock::PREFERENCES),
1.6 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 5) );
1.7 + ag->add( Gtk::Action::create("AddEdgeMap", Gtk::Stock::NEW),
1.8 + sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::addNewEdgeMap ) );
1.9 + ag->add( Gtk::Action::create("AddNodeMap", Gtk::Stock::NEW),
1.10 + sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::addNewNodeMap ) );
1.11
1.12 uim=Gtk::UIManager::create();
1.13 uim->insert_action_group(ag);
1.14 @@ -94,6 +98,8 @@
1.15 " <toolitem action='MoveItem' />"
1.16 " <toolitem action='EditEdgeMap' />"
1.17 " <toolitem action='EditNodeMap' />"
1.18 + " <toolitem action='AddEdgeMap' />"
1.19 + " <toolitem action='AddNodeMap' />"
1.20 " </toolbar>"
1.21 "</ui>";
1.22