diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-18 20:17:25 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-18 20:17:25 +0800 |
commit | b6102135d673197eecdc6497d6153d00f6b75301 (patch) | |
tree | 5b322f4366a7abde6a9b73285e215f47058f84bb /embed/ephy-web-view.c | |
parent | b46e4176e430872a3d47d0b41d0694a2ea121c5e (diff) | |
download | gsoc2013-epiphany-b6102135d673197eecdc6497d6153d00f6b75301.tar.gz 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.c | 4 |
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); } |