diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | shell/ev-view.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-09-07 Carlos Garcia Campos <carlosgc@gnome.org> + + * shell/ev-view.c: (ev_view_button_release_event): + + Don't open links with middle mouse button. Fixes bug #353649 + 2006-09-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NEWS: diff --git a/shell/ev-view.c b/shell/ev-view.c index 757194d..b27ab2c 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -2033,7 +2033,7 @@ ev_view_button_release_event (GtkWidget *widget, ev_view_set_cursor (view, EV_VIEW_CURSOR_NORMAL); } - if (view->document) { + if (view->document && view->pressed_button == 1) { link = ev_view_get_link_at_location (view, event->x, event->y); } else { link = NULL; |