# HG changeset patch # User Daniel Atallah # Date 1171163141 0 # Node ID b6f9f5331a82e7a0bf4c3b492501f7d6149e1e29 # Parent b0471b2a1de9d8107e1557baa2c97a7976ce1e40 A double click on the conv. area was getting through to the middle-click parting code. What is worse is that it wasn't necessarily choosing the correct tab. I didn't want to change pidgin_conv_get_tab_at_xy() to only deal with being actually over a tab, so we will ignore double clicks here. diff -r b0471b2a1de9 -r b6f9f5331a82 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Sun Feb 11 00:46:43 2007 +0000 +++ b/pidgin/gtkconv.c Sun Feb 11 03:05:41 2007 +0000 @@ -7255,7 +7255,7 @@ GtkWidget *page; GtkWidget *tab; - if (e->button == 2) { + if (e->button == 2 && e->type == GDK_BUTTON_PRESS) { PidginConversation *gtkconv; tab_clicked = pidgin_conv_get_tab_at_xy(win, e->x_root, e->y_root, NULL);