Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-09-07 11:44:13 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-09-07 11:44:13 (GMT)
commit7a0769c469f53e96b2d9f9be9c16bb6cfabc5668 (patch)
tree4ab31cfbfd6890cff6342118fffa212e4f7c0612 /shell
parent0765c6d79c1a3d6ad8797a88c47f430ecd824fb9 (diff)
Don't open links with middle mouse button. Fixes bug #353649
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
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c2
1 files changed, 1 insertions, 1 deletions
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;