Remove some extra model refiltering.

Whenever we write to the underlying child_model gtk will call the _visible_func on itself.
This commit is contained in:
Stephan Erb 2008-05-19 20:08:32 +00:00
parent f92f5f5c64
commit abe75901d4
2 changed files with 0 additions and 4 deletions

View File

@ -910,7 +910,6 @@ class Interface:
# It must be an agent # It must be an agent
if ji in jid_list: if ji in jid_list:
# Update existing iter # Update existing iter
self.roster.modelfilter.refilter()
self.roster.draw_contact(ji, account) self.roster.draw_contact(ji, account)
self.roster.draw_group(_('Transports'), account) self.roster.draw_group(_('Transports'), account)
if new_show > 1 and ji in gajim.transport_avatar[account]: if new_show > 1 and ji in gajim.transport_avatar[account]:

View File

@ -829,8 +829,6 @@ class RosterWindow:
if jid in gajim.newly_added[account]: if jid in gajim.newly_added[account]:
gajim.newly_added[account].remove(jid) gajim.newly_added[account].remove(jid)
self.draw_contact(jid, account) self.draw_contact(jid, account)
# redraw group visibility
self.refilter_shown_roster_items()
# FIXME: maybe move to gajim.py # FIXME: maybe move to gajim.py
def remove_to_be_removed(self, jid, account): def remove_to_be_removed(self, jid, account):
@ -842,7 +840,6 @@ class RosterWindow:
if jid in gajim.to_be_removed[account]: if jid in gajim.to_be_removed[account]:
gajim.to_be_removed[account].remove(jid) gajim.to_be_removed[account].remove(jid)
self.draw_contact(jid, account) self.draw_contact(jid, account)
self.refilter_shown_roster_items()
#FIXME: integrate into add_contact() #FIXME: integrate into add_contact()
def add_to_not_in_the_roster(self, account, jid, nick = '', resource = ''): def add_to_not_in_the_roster(self, account, jid, nick = '', resource = ''):