[maemo-developers] Disable portrait support for dialog with Hildon

From: Cornelius Hald hald at icandy.de
Date: Thu Oct 29 18:15:13 EET 2009
On Thu, 2009-10-29 at 17:54 +0200, Alberto Mardegan wrote:
> Cornelius Hald wrote:
> > How can I remove the flags from the dialog window?
> hildon_gtk_window_set_portrait_flags (
>     GTK_WINDOW (dialog), 0);

Thanks Alberto, but that does not work for me. It's still rotating, even
when the dialog is open.

How is the inheritance of those flags working? Are they passed to the
child window once upon creation time or always when they are updated?

I'm asking, because if the device is rotated to portrait orientation I'm
setting HILDON_PORTRAIT_MODE_REQUEST on the main window to make it
rotate. This call is also made when the dialog is open. Could it be that
the dialog gets the new flag as well, even if it was opened before?


More information about the maemo-developers mailing list