aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-19 22:35:55 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-19 22:35:55 +0800
commitcb85297cd231771cd22913f39fe2a71aa8c53849 (patch)
tree04361ac93771f0b69da9a4745d7fc6cd52848d9d /src/ephy-tab.c
parent5511b6207788fccebd0a9110d8cbf4eaa8c66b5e (diff)
downloadgsoc2013-epiphany-cb85297cd231771cd22913f39fe2a71aa8c53849.tar.gz
gsoc2013-epiphany-cb85297cd231771cd22913f39fe2a71aa8c53849.tar.zst
gsoc2013-epiphany-cb85297cd231771cd22913f39fe2a71aa8c53849.zip
Improve comment.
2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Improve comment. * src/ephy-window.c: (setup_ui_manager), (setup_notebook), (ephy_window_init): Only show the toolbar after the extensions have been attached to the window.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 65c2af8c4..e40e51207 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1015,6 +1015,9 @@ ephy_tab_dom_mouse_click_cb (EphyEmbed *embed,
context = ephy_embed_event_get_context (event);
modifier = ephy_embed_event_get_modifier (event);
+ LOG ("ephy_tab_dom_mouse_click_cb: type %d, context %x, modifier %x",
+ type, context, modifier)
+
with_control = (modifier & GDK_CONTROL_MASK) != 0;
with_shift = (modifier & GDK_SHIFT_MASK) != 0;
is_left_click = (type == EPHY_EMBED_EVENT_MOUSE_BUTTON1);
@@ -1045,8 +1048,8 @@ ephy_tab_dom_mouse_click_cb (EphyEmbed *embed,
{
save_property_url (embed, event, "link", CONF_STATE_DOWNLOAD_DIR);
}
- /* shift+click saves the non-link image, except when it's the submit
- * button for a form
+ /* shift+click saves the non-link image
+ * Note: pressing enter to submit a form synthesizes a mouse click event
*/
else if (is_image && is_left_click && with_shift && !is_input)
{