RE: bonobo_control_set_transient_for problem



>===== Original Message From Michael Meeks <michael ximian com> =====
>	NB. this is not a hack - it's all you can do. It is not possible to get
>a local GtkWindow * for a remote GtkWindow :-) you can get a foreign
>GdkWindow reference for the toplevel, and that was sufficient to set
>transience for Gtk+ 1.2 ( AFAIR ), it seems things have changed now.
>
>> it also doesn't set GtkWindow->transient_parent. Which in
>> turn causes the dialog to be unable to center itself over it's parent
>> (see gtkwindow.c:gtk_window_compute_configure_request (4018)).

Hmm. Centering works for me with gtk2.0 and Sawfish. At least it did as of
last week. I'm traveling now, and can't verify with the very latest CVS gtk.
Is
Metacity doing things differently?

Regards

Jon Kåre





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]