This was accidentally commited by John and causes the triple-click bug. release-2.x.y

Thu, 05 Jul 2012 23:24:10 -0500

author
Kevin Stange <kstange@pidgin.im>
date
Thu, 05 Jul 2012 23:24:10 -0500
branch
release-2.x.y
changeset 33068
811eadbbda34
parent 33067
b9810091d39c
child 33069
bd3d12de856b

This was accidentally commited by John and causes the triple-click bug.

I think the reason is, at least in some versions of GTK+, indicating
that we handled the double-click means that the double-click can't be
used for firing activation. In other versions of GTK+, it seems the
treeview looks at each GDK_BUTTON_PRESS separately, and does its own
double-click testing and will still work.

References #11942

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Thu Jul 05 21:25:16 2012 -0500
+++ b/pidgin/gtkblist.c	Thu Jul 05 23:24:10 2012 -0500
@@ -1970,10 +1970,6 @@
 			pidgin_retrieve_user_info(b->account->gc, b->name);
 		handled = TRUE;
 	}
-	else if ((event->button == 1) && (event->type == GDK_2BUTTON_PRESS) &&
-	((PURPLE_BLIST_NODE_IS_CONTACT(node)) || (PURPLE_BLIST_NODE_IS_BUDDY(node)))) {
-               handled = TRUE;
-	}
 
 #if (1)
 	/*

mercurial