gui/graph_displayer_canvas.cc
changeset 1599 c2f95eac652b
parent 1598 739df601808d
child 1606 dc4ea2010dee
     1.1 --- a/gui/graph_displayer_canvas.cc	Thu Jul 28 14:31:32 2005 +0000
     1.2 +++ b/gui/graph_displayer_canvas.cc	Thu Jul 28 15:54:00 2005 +0000
     1.3 @@ -41,6 +41,7 @@
     1.4  
     1.5      edgetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");
     1.6      edgetextmap[i]->property_fill_color().set_value("darkgreen");
     1.7 +    edgetextmap[i]->signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::edgeMapEditEventHandler), false);
     1.8    }
     1.9  
    1.10    //afterwards nodes come to be drawn
    1.11 @@ -69,6 +70,7 @@
    1.12  
    1.13      nodetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");
    1.14      nodetextmap[i]->property_fill_color().set_value("darkblue");
    1.15 +    nodetextmap[i]->signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::nodeMapEditEventHandler), false);
    1.16    }
    1.17  
    1.18    updateScrollRegion();