Index: gui/main_win.cc
===================================================================
--- gui/main_win.cc (revision 1468)
+++ gui/main_win.cc (revision 1502)
@@ -38,4 +38,13 @@
sigc::mem_fun(*this, &MainWin::showEditorials));
+ ag->add( Gtk::Action::create("CreateNode", Gtk::Stock::NO),
+ sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 1) );
+ ag->add( Gtk::Action::create("CreateEdge", Gtk::Stock::REMOVE),
+ sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 2) );
+ ag->add( Gtk::Action::create("EraseItem", Gtk::Stock::DELETE),
+ sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 3) );
+ ag->add( Gtk::Action::create("MoveItem", Gtk::Stock::CONVERT),
+ sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 0) );
+
uim=Gtk::UIManager::create();
uim->insert_action_group(ag);
@@ -75,4 +84,9 @@
" "
" "
+ " "
+ " "
+ " "
+ " "
+ " "
" "
"";