aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-08-07 05:11:24 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-08-07 05:11:24 +0800
commit976b6e0255ef388a396d1f1525b5d3ef70b67799 (patch)
tree632ffb02dac1b4d0993eb63fe9283108ff30e791
parent2d66071c7e1c42b1df2a1e34ecc84670bd42e790 (diff)
downloadgsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.gz
gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.zst
gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.zip
Don't attach the scroll event listener twice.
2005-08-06 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/EphyBrowser.cpp (AttachListeners): Don't attach the scroll event listener twice.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EphyBrowser.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index be8c2a0b8..4564ede03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-06 Crispin Flowerday <gnome@flowerday.cx>
+
+ * embed/mozilla/EphyBrowser.cpp (AttachListeners):
+
+ Don't attach the scroll event listener twice.
+
2005-08-03 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c: (popup_menu_at_coords),
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 231b5c4ac..363131c70 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -661,8 +661,6 @@ EphyBrowser::AttachListeners(void)
mPopupBlockEventListener, PR_FALSE);
rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMWillOpenModalDialog),
mModalAlertListener, PR_TRUE);
- rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMMouseScroll),
- mDOMScrollEventListener, PR_TRUE);
rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMModalDialogClosed),
mModalAlertListener, PR_TRUE);
rv |= mEventTarget->AddEventListener(nsEmbedString(kContextMenu),