fix dubblick on grop in groupchat treeview

This commit is contained in:
Denis Fomin 2013-01-08 19:41:51 +04:00
parent 3d18ca4e6b
commit a5b3045b8f
1 changed files with 1 additions and 1 deletions

View File

@ -2480,7 +2480,7 @@ class GroupchatControl(ChatControlBase):
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: