GNOME Bugzilla – Bug 323759
about dialogue not above
Last modified: 2006-01-23 18:42:05 UTC
Steps: 0) Load a web page which embeds a totem plugin 1) Right click, About Result: The about dialogue isn't parented to the window that contains the web page containing the plugin; if you click somewhere on the page the about dialogue disappears and you have to minimise all windows before you can find it again.
gtk_widget_get_parent_window() on the video widget fails. I'm not too sure how to get the parent window of the plugin from another process, even though it's embedded.
I think there's code in bonobo that does that, bonobo_control_set_transient_for.
Created attachment 56330 [details] [review] totem-parent-about-box.patch This doesn't work, and I'm really wondering why.
It didn't work because I'm an idiot and forgot to remove the gtk_window_set_transient call below.
2006-01-23 Bastien Nocera <hadess@hadess.net> * src/totem-mozilla-viewer.c: (totem_gtk_plug_get_toplevel), (on_about1_activate), (main): Add a totem_gtk_plug_get_toplevel () function, and correctly set the about dialogue as a transient for the Mozilla toplevel window (Closes: #323759)