aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-link.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9175b4cb2..e800beb7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org>
+ * src/ephy-link.c: (ephy_link_flags_from_current_event):
+
+ Check for GDK_BUTTON_RELEASE event type in case of a middle click.
+ Fix bug #347750.
+
+2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org>
+
* lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents),
(icon_button_press_event_cb):
diff --git a/src/ephy-link.c b/src/ephy-link.c
index 7b5099adb..623f7117a 100644
--- a/src/ephy-link.c
+++ b/src/ephy-link.c
@@ -108,7 +108,7 @@ ephy_link_flags_from_current_event (void)
ephy_gui_get_current_event (&type, &state, &button);
- if (button == 2 && type == GDK_BUTTON_PRESS)
+ if (button == 2 && (type == GDK_BUTTON_PRESS || type == GDK_BUTTON_RELEASE))
{
if (state == GDK_SHIFT_MASK)
{