equal
deleted
inserted
replaced
620 entry_coos.y=(edgetextmap[active_edge])->property_y().get_value(); |
620 entry_coos.y=(edgetextmap[active_edge])->property_y().get_value(); |
621 entry_coos.y-=edgetextmap[active_edge]->property_text_height().get_value()*1.5/2; |
621 entry_coos.y-=edgetextmap[active_edge]->property_text_height().get_value()*1.5/2; |
622 canvasentrywidget=new Gnome::Canvas::Widget(displayed_graph, entry_coos.x, entry_coos.y, entrywidget); |
622 canvasentrywidget=new Gnome::Canvas::Widget(displayed_graph, entry_coos.x, entry_coos.y, entrywidget); |
623 canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*4); |
623 canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*4); |
624 canvasentrywidget->property_height().set_value(edgetextmap[active_edge]->property_text_height().get_value()*1.5); |
624 canvasentrywidget->property_height().set_value(edgetextmap[active_edge]->property_text_height().get_value()*1.5); |
|
625 |
|
626 //setting the focus to newly created widget |
|
627 parentwin->set_focus(entrywidget); |
|
628 parentwin->activate_focus(); |
625 } |
629 } |
626 } |
630 } |
627 } |
631 } |
628 //if it was not an edge... |
632 //if it was not an edge... |
629 else |
633 else |