aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-12-18 20:17:25 +0800
committerGustavo Noronha Silva <gns@gnome.org>2009-12-18 20:17:25 +0800
commitb6102135d673197eecdc6497d6153d00f6b75301 (patch)
tree5b322f4366a7abde6a9b73285e215f47058f84bb /embed/ephy-web-view.c
parentb46e4176e430872a3d47d0b41d0694a2ea121c5e (diff)
downloadgsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.gz
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.bz2
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.lz
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.xz
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.zst
gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.zip
Restore download on shift-click functionality
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4871fc965..2935ed2ad 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -520,6 +520,10 @@ ephy_web_view_button_press_event (GtkWidget *widget, GdkEventButton *event)
if (event->button == 3 && event->state & GDK_CONTROL_MASK)
return FALSE;
+ /* We use this for downloading */
+ if (event->button == 1 && event->state & GDK_SHIFT_MASK)
+ return FALSE;
+
return GTK_WIDGET_CLASS (ephy_web_view_parent_class)->button_press_event (widget, event);
}