1.1 --- a/graph_displayer_canvas.cc Tue Aug 23 16:27:59 2005 +0000
1.2 +++ b/graph_displayer_canvas.cc Fri Aug 26 07:35:23 2005 +0000
1.3 @@ -4,9 +4,9 @@
1.4
1.5 GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
1.6 nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),
1.7 - nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0),
1.8 - canvasentrywidget(NULL), mapstorage(ms), isbutton(0), active_item(NULL),
1.9 - target_item(NULL), nodemap_to_edit(""), edgemap_to_edit(""), mapwin(mw)
1.10 + nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0), mapstorage(ms),
1.11 + isbutton(0), active_item(NULL), target_item(NULL), nodemap_to_edit(""),
1.12 + edgemap_to_edit(""), mapwin(mw)
1.13 {
1.14 parentwin=mainwin;
1.15
1.16 @@ -14,9 +14,6 @@
1.17 actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false);
1.18 actual_tool=MOVE;
1.19
1.20 - //setting event handler for the editor widget
1.21 - entrywidget.signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::entryWidgetChangeHandler), false);
1.22 -
1.23 active_node=INVALID;
1.24 active_edge=INVALID;
1.25 forming_edge=INVALID;
1.26 @@ -35,11 +32,6 @@
1.27 delete edgesmap[e];
1.28 delete edgetextmap[e];
1.29 }
1.30 -
1.31 - if(canvasentrywidget)
1.32 - {
1.33 - delete(canvasentrywidget);
1.34 - }
1.35 }
1.36
1.37 void GraphDisplayerCanvas::drawGraph()