Comment 4 for bug 227949

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

Originally, the desired behaviour was implemented by Bulia In rev. #13397. It was again removed in rev. #16541 when Gustav implemented the floating panels (which is a good thing!). In that transition though, the reference to the dialog got lost, which was needed to use the set_default() call. Apparently we're using a new version of the GTK libs too, as the original set_default is now called gtk_window_set_default if I'm correct.

So I think we should add a call to gtk_window_set_default() on line 162 of ui/dialog/transformation.cpp, but that requires a reference to a GTK_WINDOW. Now where do we get that reference from? This is probably exactly what John stuck too :-(

http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-set-default