From d6fcb4011cd7a5ffe4784282b7d1027db6b16911 Mon Sep 17 00:00:00 2001 From: bigpod Date: Sun, 6 Mar 2005 03:03:29 +0000 Subject: [PATCH] small fix on single click --- plugins/gtkgui/gtkgui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 421d0fb9f..9528ef996 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -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: