Merged message_window branch.
This commit is contained in:
commit
260f90811e
2 changed files with 1 additions and 10 deletions
|
@ -218,15 +218,6 @@ def resize_window(window, w, h):
|
||||||
h = screen_h
|
h = screen_h
|
||||||
window.resize(abs(w), abs(h))
|
window.resize(abs(w), abs(h))
|
||||||
|
|
||||||
# FIXME: Remove or update??
|
|
||||||
def one_window_opened(typ):
|
|
||||||
for account in gajim.connections:
|
|
||||||
if not gajim.interface.instances[account].has_key(typ):
|
|
||||||
continue
|
|
||||||
if len(gajim.interface.instances[account][typ]):
|
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
class TagInfoHandler(xml.sax.ContentHandler):
|
class TagInfoHandler(xml.sax.ContentHandler):
|
||||||
def __init__(self, tagname1, tagname2):
|
def __init__(self, tagname1, tagname2):
|
||||||
xml.sax.ContentHandler.__init__(self)
|
xml.sax.ContentHandler.__init__(self)
|
||||||
|
|
|
@ -203,7 +203,7 @@ class RosterWindow:
|
||||||
if g == _('Transports'):
|
if g == _('Transports'):
|
||||||
typestr = 'agent'
|
typestr = 'agent'
|
||||||
|
|
||||||
name = contcat.get_shown_name()
|
name = contact.get_shown_name()
|
||||||
# we add some values here. see draw_contact for more
|
# we add some values here. see draw_contact for more
|
||||||
model.append(iterG, (None, name, typestr, contact.jid, account,
|
model.append(iterG, (None, name, typestr, contact.jid, account,
|
||||||
False, None))
|
False, None))
|
||||||
|
|
Loading…
Add table
Reference in a new issue