Properly check for the owner, fix #5573.

This commit is contained in:
Marco Pesenti Gritti 2008-01-10 15:32:44 +01:00
parent 10db544b1e
commit 6c5025bd74

View File

@ -37,7 +37,7 @@ class BuddyMenu(Palette):
self._buddy.connect('nick-changed', self._buddy_nick_changed_cb) self._buddy.connect('nick-changed', self._buddy_nick_changed_cb)
owner = self._get_shell_model().get_owner() owner = self._get_shell_model().get_owner()
if buddy.get_nick() != owner.get_nick(): if not buddy.is_owner():
self._add_items() self._add_items()
def _get_shell_model(self): def _get_shell_model(self):