Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 12140:ed6c64e5e0ed
[gaim-migrate @ 14441]
A fix from sadrul... This makes the tab right-click menu options work correctly when the conversation window is NOT in the top-left corner of your display.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 18 Nov 2005 23:14:48 +0000 |
parents | 370f9d7868f9 |
children | ffdd2ccf3a53 |
comparison
equal
deleted
inserted
replaced
12139:8500930c005e | 12140:ed6c64e5e0ed |
---|---|
6451 | 6451 |
6452 if (event->type != GDK_BUTTON_PRESS || event->button != 3) | 6452 if (event->type != GDK_BUTTON_PRESS || event->button != 3) |
6453 return FALSE; | 6453 return FALSE; |
6454 | 6454 |
6455 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, | 6455 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, |
6456 gaim_gtkconv_get_tab_at_xy(win, event->x, event->y, NULL)); | 6456 gaim_gtkconv_get_tab_at_xy(win, event->x_root, event->y_root, NULL)); |
6457 | 6457 |
6458 if (g_object_get_data(G_OBJECT(notebook->menu), "clicked_tab")) | 6458 if (g_object_get_data(G_OBJECT(notebook->menu), "clicked_tab")) |
6459 { | 6459 { |
6460 g_object_set_data(G_OBJECT(notebook->menu), "clicked_tab", gtkconv); | 6460 g_object_set_data(G_OBJECT(notebook->menu), "clicked_tab", gtkconv); |
6461 return FALSE; | 6461 return FALSE; |