Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/c67187079e034ad2a0fe41521b9068f02a6f103d
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/c67187079e034ad2a0fe41521b9068f02a6f103d
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/c67187079e034ad2a0fe41521b9068f02a6f103d

The branch, master has been updated
       via  c67187079e034ad2a0fe41521b9068f02a6f103d (commit)
      from  654609887678aef9b62ba62b6427de0b9fc9bdb2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commitdiff/c67187079e034ad2a0fe41521b9068f02a6f103d
commit c67187079e034ad2a0fe41521b9068f02a6f103d
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Improve object status message handling.

diff --git a/render/html.c b/render/html.c
index d37a624..a4725ca 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1173,7 +1173,11 @@ html_object_callback(hlcache_handle *object,
        case CONTENT_MSG_STATUS:
                if (event->data.explicit_status_text == NULL) {
                        /* Object content's status text updated */
-                       html_set_status(c, content_get_status_message(object));
+                       union content_msg_data data;
+                       data.explicit_status_text =
+                                       content_get_status_message(object);
+                       html_set_status(c, data.explicit_status_text);
+                       content_broadcast(&c->base, CONTENT_MSG_STATUS, data);
                } else {
                        /* Object content wants to set explicit message */
                        content_broadcast(&c->base, CONTENT_MSG_STATUS,


-----------------------------------------------------------------------

Summary of changes:
 render/html.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/render/html.c b/render/html.c
index d37a624..a4725ca 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1173,7 +1173,11 @@ html_object_callback(hlcache_handle *object,
        case CONTENT_MSG_STATUS:
                if (event->data.explicit_status_text == NULL) {
                        /* Object content's status text updated */
-                       html_set_status(c, content_get_status_message(object));
+                       union content_msg_data data;
+                       data.explicit_status_text =
+                                       content_get_status_message(object);
+                       html_set_status(c, data.explicit_status_text);
+                       content_broadcast(&c->base, CONTENT_MSG_STATUS, data);
                } else {
                        /* Object content wants to set explicit message */
                        content_broadcast(&c->base, CONTENT_MSG_STATUS,


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to