diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-09-09 22:43:32 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-09-09 22:43:32 +0800 |
commit | d7e22002c0157b19fdbe3d450c2f17b579c8f438 (patch) | |
tree | c976098d77a51099aeaa063469895a21f7bdc39c | |
parent | a6eb90cdc9b73cb6abf3bc757f12e7694313eb9f (diff) | |
download | gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar.gz gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar.bz2 gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar.lz gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar.xz gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.tar.zst gsoc2013-epiphany-d7e22002c0157b19fdbe3d450c2f17b579c8f438.zip |
Manually emit the "profile-change-net-teardown" notification; works around
2005-09-09 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphySingle.cpp:
Manually emit the "profile-change-net-teardown" notification;
works around bug https://bugzilla.mozilla.org/show_bug.cgi?id=292699.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 5 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-09-09 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/EphySingle.cpp: + + Manually emit the "profile-change-net-teardown" notification; + works around bug https://bugzilla.mozilla.org/show_bug.cgi?id=292699. + 2005-09-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyUtils.cpp: diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp index 4bd1915ea..0d920900a 100644 --- a/embed/mozilla/EphySingle.cpp +++ b/embed/mozilla/EphySingle.cpp @@ -82,6 +82,11 @@ EphySingle::Detach () mObserverService->RemoveObserver (this, "perm-changed"); mObserverService->RemoveObserver (this, "signonChanged"); mObserverService->RemoveObserver (this, "network:offline-status-changed"); + +#if 1 + /* HACK: Work around https://bugzilla.mozilla.org/show_bug.cgi?id=292699 */ + mObserverService->NotifyObservers(nsnull, "profile-change-net-teardown", nsnull); +#endif } return NS_OK; |