diff -r cd237f1936f8 -r 350c1d8bb7cc gui/graph_displayer_canvas.h --- a/gui/graph_displayer_canvas.h Wed Aug 03 19:10:12 2005 +0000 +++ b/gui/graph_displayer_canvas.h Sun Aug 07 14:17:11 2005 +0000 @@ -18,7 +18,7 @@ typedef Gnome::Canvas::CanvasAA Parent; public: - GraphDisplayerCanvas(MapStorage &, MapWin &); + GraphDisplayerCanvas(MapStorage &, MapWin &, Gtk::Window *); virtual ~GraphDisplayerCanvas(); ///Changes the linewidth attribute according to the given map. @@ -177,6 +177,10 @@ ///We need to store mapwin, to be able to ask the appropriate values for properties of new items. MapWin & mapwin; + ///We need to store the parent window to be able to set the focus on a given widget + ///We will use this variable to activate the set focus on entry widget in the case of editing map values. + Gtk::Window * parentwin; + }; #endif //GRAPH_DISPLAYER_CANVAS_H