diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-01 07:09:35 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-02 00:30:53 +0800 |
commit | d5b4f4ba1d31e368e23ddd77774e285a13908622 (patch) | |
tree | 4940ca63c17dc4b5d3d8707c0294e2ee0023a72e /src/ephy-window.c | |
parent | 10c1b6a7194f8dfc7c7cca278cfb6444255caed2 (diff) | |
download | gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar.gz gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar.bz2 gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar.lz gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar.xz gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.tar.zst gsoc2013-epiphany-d5b4f4ba1d31e368e23ddd77774e285a13908622.zip |
Fake middle clicks without gtk_button_{press,release}, which are deprecated
Factor the logic that fakes clicks from a middle click in
EphyMiddleClick(Tool)Button by forwarding a left click to GTK+ when we
receive a middle click. Since ephy_gui_is_middle_click stops working
in this case, add the minimal logic in EphyLinkAction to make it work
again (basically, cache the button that activated the action inside
the action itself).
The EphyMiddleClickable(Tool)Button classes were written by Alexandre
Mazari.
https://bugzilla.gnome.org/show_bug.cgi?id=628364
Diffstat (limited to 'src/ephy-window.c')
0 files changed, 0 insertions, 0 deletions