Work around browser crash.

This commit is contained in:
Marco Pesenti Gritti 2006-09-22 21:11:14 +02:00
parent 9b9d939e45
commit 1f8b5cfbf3
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class BrowserActivity(Activity):
def __init__(self):
Activity.__init__(self)
gtkmozembed.push_startup()
gtkmozembed.set_profile_path(env.get_profile_path(), 'gecko')
self._share_service = None

View File

@ -75,3 +75,4 @@ marcopg eliason, aaah I see now
eliason marcopg: The basic problem is that people are crossing an index that is a multiple of the mod, so everyone shifts in and out. What if, instead, we adjusted the indeces of every XO with an index of modValue*c greater than the XO that left, and subtract modValue from each of their indices?
eliason With mod 3, we basically have 3 levels of the ring. This solution would just shift ONE of those rings couter-clockwise one XO position, leaving the other two rings intact as is. We move many fewer XOs than before, but we minimize the movement any given XO has to make by spreading it across the ring level instead of moving the last XO all the way across the circle...eliason marcopg: The basic problem is that people are crossing an index that is a multiple of the mod, so everyone shifts in and out. What if, instead, we adjusted the indeces of every XO with an index of modValue*c greater than the XO that left, and subtract modValue from each of their indices?
eliason With mod 3, we basically have 3 levels of the ring. This solution would just shift ONE of those rings couter-clockwise one XO position, leaving the other two rings intact as is. We move many fewer XOs than before, but we minimize the movement any given XO has to make by spreading it across the ring level instead of moving the last XO all the way across the circle...
eliason marcopg: The final detail of that, beyond shifting each index down by the mod value, is to shift the very last group of people in the ring down to fill all the holes, if you get my meaning...