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():
changeset d5a7c8480396 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=d5a7c8480396
description: fix dubblick on grop in groupchat treeview
diffstat:
src/groupchat_control.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3d444201f2e2 -r d5a7c8480396 src/groupchat_control.py
--- a/src/groupchat_control.py Tue Jan 08 15:54:20 2013 +0400
+++ b/src/groupchat_control.py Tue Jan 08 19:41:51 2013 +0400
@@ -2480,7 +2480,7 @@
When an iter is activated (dubblick or single click if gnome is set this
way
"""
- if len(path) == 1: # It's a group
+ if path.get_depth() == 1: # It's a group
if (widget.row_expanded(path)):
widget.collapse_row(path)
else: