aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-18 20:03:15 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-18 20:03:15 +0800
commitf1ef34a569c6a97a5ba2516f4e4511d2a93f05f6 (patch)
tree0eead031ea0032dd570c5c66b70b7b54f6e823db /embed/mozilla/MozDownload.cpp
parent3b1f9048fa3055b317c78db5d8490702e5d253f8 (diff)
downloadgsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar.gz
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar.bz2
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar.lz
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar.xz
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.tar.zst
gsoc2013-epiphany-f1ef34a569c6a97a5ba2516f4e4511d2a93f05f6.zip
Fix download progress indicator in downloader view.
2004-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/mozilla/MozDownload.cpp: * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Fix download progress indicator in downloader view.
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r--embed/mozilla/MozDownload.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index eec039641..fdb8e3b75 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -298,6 +298,16 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
if (NS_FAILED(aStatus) && NS_SUCCEEDED(mStatus))
mStatus = aStatus;
+ if (aStateFlags & STATE_START)
+ {
+ mDownloadState = EPHY_DOWNLOAD_DOWNLOADING;
+
+ if (mEphyDownload)
+ {
+ g_signal_emit_by_name (mEphyDownload, "changed");
+ }
+ }
+
/* We will get this even in the event of a cancel */
if (aStateFlags & STATE_STOP)
{