On 11/10/2010 07:18 AM, john pratss wrote:
hi all,
Is there any configuration file in meego 1.1 handset image that needs
to be changed which changes the Meego UI home and applications screens
or orientation permanently to portrait mode.
Are you saying you want to lock all UI's into a specific mode,
regardless of what the orientation sensors are reporting, and regardless
of what the specific app wants to do?
If so then you could always limit available orientations via the target
configuration file located in /usr/share/meegotouch/targets/. You stack
will have one a specific target set via a gconf key (or which i don't
recall the path off the top of my head), and then libmeegotouch will use
that config to load the config from /usr/share/meegotouch/TARGET.conf.
Inside that file you will see a section called "[allowedOrientations]"
with a list of valid angles for keyboardOpen and keyboardClosed.
You "could" (seems a bit hacky, but for what ever purpose you are trying
to achieve this you could) just limit the number of valid angles to 0 and 0.
--rusty
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev