really nothing [ok.. a comment]
This commit is contained in:
parent
ea6efc08a0
commit
dc6541ff7f
|
@ -1,8 +1,9 @@
|
||||||
## common/i18n.py
|
## common/i18n.py
|
||||||
##
|
##
|
||||||
## Gajim Team:
|
## Gajim Team:
|
||||||
## - Yann Le Boulanger <asterix@lagaule.org>
|
## - Yann Le Boulanger <asterix@lagaule.org>
|
||||||
## - Vincent Hanquez <tab@snarc.org>
|
## - Vincent Hanquez <tab@snarc.org>
|
||||||
|
## - Nikos Kouremenos <kourem@gmail.com>
|
||||||
##
|
##
|
||||||
## Copyright (C) 2003-2005 Gajim Team
|
## Copyright (C) 2003-2005 Gajim Team
|
||||||
##
|
##
|
||||||
|
@ -19,7 +20,8 @@
|
||||||
APP='gajim'
|
APP='gajim'
|
||||||
DIR='../po'
|
DIR='../po'
|
||||||
|
|
||||||
import locale, gettext
|
import locale
|
||||||
|
import gettext
|
||||||
|
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
_translation = None
|
_translation = None
|
||||||
|
|
|
@ -300,6 +300,7 @@ class Tabbed_chat_window(chat.Chat):
|
||||||
chat.Chat.print_conversation_line(self, text, jid, kind, name, tim)
|
chat.Chat.print_conversation_line(self, text, jid, kind, name, tim)
|
||||||
|
|
||||||
def restore_conversation(self, jid):
|
def restore_conversation(self, jid):
|
||||||
|
# don't restore lines if it's a transport
|
||||||
is_transport = jid.startswith('aim.') or jid.startswith('gadugadu.') or\
|
is_transport = jid.startswith('aim.') or jid.startswith('gadugadu.') or\
|
||||||
jid.startswith('irc.') or jid.startswith('icq.') or\
|
jid.startswith('irc.') or jid.startswith('icq.') or\
|
||||||
jid.startswith('msn.') or jid.startswith('sms.') or\
|
jid.startswith('msn.') or jid.startswith('sms.') or\
|
||||||
|
|
Loading…
Reference in New Issue