diff options
author | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
---|---|---|
committer | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
commit | a93dfebb9e7a34ffba9b1ae5e8e496dfab4c3c43 (patch) | |
tree | 6c38a4617c92398269e6603a0509fc3006811368 /recipes/gtk-webcore/files/fix-loading-error-report.patch | |
parent | 4255898da29e7e0c521d064afedbc4075b3e8155 (diff) | |
parent | d7fdcef3d8c8b80926d579c2db179b594429cebe (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gtk-webcore/files/fix-loading-error-report.patch')
-rw-r--r-- | recipes/gtk-webcore/files/fix-loading-error-report.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes/gtk-webcore/files/fix-loading-error-report.patch b/recipes/gtk-webcore/files/fix-loading-error-report.patch new file mode 100644 index 0000000000..09e6f4f03a --- /dev/null +++ b/recipes/gtk-webcore/files/fix-loading-error-report.patch @@ -0,0 +1,44 @@ +--- NRCit.orig/src/gtk/webi.cc.orig 2006-04-04 01:53:14.000000000 +0300 ++++ NRCit/src/gtk/webi.cc 2006-04-04 01:44:20.000000000 +0300 +@@ -839,12 +839,15 @@ + status->status = WEBI_LOADING_COMPLETE; + status->statusCode = statusCode; + ++ g_signal_emit_by_name(webi, "status", status); + // assert(status->ready == status->files); + } + + void MyRoot::internalStatusStartItem(const OSB::ResourceStatus * _status) + { + if (!internal) return; ++ ++ status->status = WEBI_LOADING_START; + status->files++; + g_signal_emit_by_name(webi, "status", status); + } +@@ -852,6 +855,8 @@ + void MyRoot::internalStatusHeadersItem(const OSB::ResourceStatus * _status) + { + if (!internal) return; ++ ++ status->status = WEBI_LOADING_START; + if (_status->size()) { + status->size += _status->size(); + status->totalSize += _status->size(); +@@ -863,6 +868,8 @@ + void MyRoot::internalStatusProgressItem(const OSB::ResourceStatus * _status) + { + if (!internal) return; ++ ++ status->status = WEBI_LOADING_START; + status->totalReceived += _status->lastReceived(); + // in case Content-Length -header is not present + if (!_status->size()) { +@@ -880,6 +887,7 @@ + status->ready++; + if (_status->error()) { + // FIXME: handle errors as well.u ++ status->status = WEBI_LOADING_ERROR; + } + + g_signal_emit_by_name(webi, "status", status); |