Mercurial > pidgin.yaz
changeset 15614:b6f9f5331a82
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.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 11 Feb 2007 03:05:41 +0000 |
parents | b0471b2a1de9 |
children | 62b3ff6e513a |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);