Use the index of the previous window to calculate the new stack index
authorAlberto Garcia <agarcia@igalia.com>
Thu, 18 Jun 2009 15:11:36 +0000 (17:11 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Thu, 18 Jun 2009 15:43:25 +0000 (17:43 +0200)
commita010945fb1d11cfd15a7ea4d54437c80ebe6d42c
treee9674f96851d3bad77e3a54ce8e6cda318e09f29
parenta95518229100c97750b19c9308a2d30000461ef5
Use the index of the previous window to calculate the new stack index

* hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
Use the index of the previous window rather than the stack length
to calculate the new index.

Fixes: NB#122389
ChangeLog
hildon/hildon-window-stack.c