1.1 --- a/graph_displayer_canvas-event.cc Fri Apr 14 18:31:16 2006 +0000
1.2 +++ b/graph_displayer_canvas-event.cc Tue Apr 18 22:59:33 2006 +0000
1.3 @@ -331,7 +331,7 @@
1.4 }
1.5 }
1.6 // increment the id map's default value
1.7 - (mytab.mapstorage).nodemap_default["id"] += 1.0;
1.8 + (mytab.mapstorage).nodemap_default["label"] += 1.0;
1.9
1.10 nodesmap[active_node]=new Gnome::Canvas::Ellipse(displayed_graph,
1.11 clicked_x-20, clicked_y-20, clicked_x+20, clicked_y+20);
1.12 @@ -441,7 +441,7 @@
1.13 (mytab.mapstorage).edgemap_default[it->first];
1.14 }
1.15 // increment the id map's default value
1.16 - (mytab.mapstorage).edgemap_default["id"] += 1.0;
1.17 + (mytab.mapstorage).edgemap_default["label"] += 1.0;
1.18
1.19 //calculating coordinates of new edge
1.20 Gnome::Canvas::Points coos;
1.21 @@ -673,7 +673,7 @@
1.22 if(clicked_edge!=INVALID)
1.23 {
1.24 // the id map is not editable
1.25 - if (edgemap_to_edit == "id") return 0;
1.26 + if (edgemap_to_edit == "label") return 0;
1.27
1.28 //and there is activated map
1.29 if(edgetextmap[clicked_edge]->property_text().get_value()!="")
1.30 @@ -761,7 +761,7 @@
1.31 if(clicked_node!=INVALID)
1.32 {
1.33 // the id map is not editable
1.34 - if (nodemap_to_edit == "id") return 0;
1.35 + if (nodemap_to_edit == "label") return 0;
1.36
1.37 //and there is activated map
1.38 if(nodetextmap[clicked_node]->property_text().get_value()!="")