small fix on single click
This commit is contained in:
parent
3117e65687
commit
d6fcb4011c
1 changed files with 2 additions and 1 deletions
|
@ -1941,7 +1941,8 @@ class roster_window:
|
|||
type = model.get_value(iter, 2)
|
||||
if (type == 'group'):
|
||||
if (self.tree.row_expanded(path)):
|
||||
if x <= self.pixbufs['opened'].get_pixbuf()\ #The integer 10 is the xoffset
|
||||
#The integer 10 is the xoffset
|
||||
if x <= self.pixbufs['opened'].get_pixbuf()\
|
||||
.get_width()+10:
|
||||
self.tree.collapse_row(path)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue