aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-09-14 05:38:28 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-09-14 05:38:28 +0800
commitc5eaf9de1786a158734c6d6cdd22b574146bb545 (patch)
tree6fce26b58511658163877039d40b67818a3912e8
parent08d1d04c64f852b15b07626b8614a60999580828 (diff)
downloadgsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar.gz
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar.bz2
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar.lz
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar.xz
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.tar.zst
gsoc2013-epiphany-c5eaf9de1786a158734c6d6cdd22b574146bb545.zip
Check for GDK_BUTTON_RELEASE event type in case of a middle click. Fix bug
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.
-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)
{