changeset 4c02e2a54663 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=4c02e2a54663 description: prevent tracebacks in history window
diffstat:
src/history_window.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f5c10eb0ea7a -r 4c02e2a54663 src/history_window.py --- a/src/history_window.py Tue Jan 08 19:46:12 2013 +0400 +++ b/src/history_window.py Tue Jan 08 19:58:06 2013 +0400 @@ -431,7 +431,7 @@ else: # we don't have roster, we don't know our own nick, use first # account one (urk!) - account = gajim.contacts.get_accounts()[0] + account = list(gajim.contacts.get_accounts())[0] contact_name = gajim.nicks[account] tag_name = 'outgoing' tag_msg = 'outgoingtxt' @@ -511,7 +511,7 @@ # or if we browse a groupchat history. The account is not needed, a dummy can # be set. # This may leed to wrong self nick in the displayed history (Uggh!) - account = gajim.contacts.get_accounts()[0] + account = list(gajim.contacts.get_accounts())[0]
year, month, day = False, False, False if self.search_in_date.get_active():