From c16c07e9541ff3fdacf60ed2a970f06e984ed014 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 18 Jul 2007 02:05:09 -0400 Subject: [PATCH] Keep owner in the center in mesh view --- shell/view/home/MeshBox.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index bb47f792..43411d10 100644 --- a/shell/view/home/MeshBox.py +++ b/shell/view/home/MeshBox.py @@ -260,6 +260,9 @@ class MeshBox(hippo.CanvasBox): self._remove_buddy(buddy_model) def _buddy_moved_cb(self, model, buddy_model, activity_model): + # Owner doesn't move from the center + if buddy_model.is_owner(): + return self._move_buddy(buddy_model, activity_model) def _activity_added_cb(self, model, activity_model):