diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-08 23:21:31 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-08 23:21:31 +0800 |
commit | 3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84 (patch) | |
tree | d032c2089bdd30da37cd39cfe3f6f4f2d6315a03 /src/ephy-window.c | |
parent | 593c690076eb6127dbd8fa25bbbf0e75bf1c689d (diff) | |
download | gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar.gz gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar.bz2 gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar.lz gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar.xz gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.tar.zst gsoc2013-epiphany-3c1e4ad57e58f84e702bb2cf8de2ff04f3416d84.zip |
Make ctrl-click equivalent of middle click on links. Make shift-click save
2003-12-08 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-tab.c: (save_property_url),
(ephy_tab_dom_mouse_click_cb):
Make ctrl-click equivalent of middle click on links. Make shift-click
save the link. Fixes bug #110786.
* src/ephy-window.c: (tab_context_menu_cb):
Fix context_menu function return value type.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 073a20e4e..5ab1177f0 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1192,7 +1192,7 @@ show_embed_popup (EphyWindow *window, EphyTab *tab, EphyEmbedEvent *event) } } -static gint +static gboolean tab_context_menu_cb (EphyEmbed *embed, EphyEmbedEvent *event, EphyWindow *window) @@ -1201,7 +1201,7 @@ tab_context_menu_cb (EphyEmbed *embed, g_return_val_if_fail (EPHY_IS_WINDOW (window), FALSE); g_return_val_if_fail (EPHY_IS_EMBED (embed), FALSE); - g_assert (EPHY_IS_EMBED_EVENT(event)); + g_return_val_if_fail (EPHY_IS_EMBED_EVENT(event), FALSE); tab = EPHY_TAB (g_object_get_data (G_OBJECT (embed), "EphyTab")); g_return_val_if_fail (EPHY_IS_TAB (tab), FALSE); |