Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/9faca2b9407097359d682b4593fed7a418b86400
...commit
http://git.netsurf-browser.org/netsurf.git/commit/9faca2b9407097359d682b4593fed7a418b86400
...tree
http://git.netsurf-browser.org/netsurf.git/tree/9faca2b9407097359d682b4593fed7a418b86400
The branch, master has been updated
via 9faca2b9407097359d682b4593fed7a418b86400 (commit)
via 7f628f7ee8f8707e72ad8cfd54edc024b5e66b95 (commit)
from 6fc2666d07f28cd845b5697853b9b0e61f8848c5 (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/commit/?id=9faca2b9407097359d682b4593fed7a418b86400
commit 9faca2b9407097359d682b4593fed7a418b86400
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
Add missing include
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/content.c b/content/content.c
index c0119ea..1572628 100644
--- a/content/content.c
+++ b/content/content.c
@@ -38,6 +38,7 @@
#include "content/content_protected.h"
#include "content/content_debug.h"
#include "content/hlcache.h"
+#include "content/urldb.h"
#define URL_FMT_SPC "%.140s"
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=7f628f7ee8f8707e72ad8cfd54edc024b5e66b95
commit 7f628f7ee8f8707e72ad8cfd54edc024b5e66b95
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
browser_window: Add an event for page info state change
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 7227023..1fa3161 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -818,6 +818,11 @@ static nserror browser_window_content_ready(struct
browser_window *bw)
browser_window_create_iframes(bw,
html_get_iframe(bw->current_content));
}
+ /* Indicate page status may have changed */
+ if (res == NSERROR_OK) {
+ res = guit->window->event(bw->window,
GW_EVENT_PAGE_INFO_CHANGE);
+ }
+
return res;
}
diff --git a/include/netsurf/window.h b/include/netsurf/window.h
index 38ce295..8f14a8c 100644
--- a/include/netsurf/window.h
+++ b/include/netsurf/window.h
@@ -119,6 +119,12 @@ enum gui_window_event {
* selection started
*/
GW_EVENT_START_SELECTION,
+
+ /**
+ * Page status has changed and so the padlock should be
+ * updated.
+ */
+ GW_EVENT_PAGE_INFO_CHANGE,
};
/**
-----------------------------------------------------------------------
Summary of changes:
content/content.c | 1 +
desktop/browser_window.c | 5 +++++
include/netsurf/window.h | 6 ++++++
3 files changed, 12 insertions(+)
diff --git a/content/content.c b/content/content.c
index c0119ea..1572628 100644
--- a/content/content.c
+++ b/content/content.c
@@ -38,6 +38,7 @@
#include "content/content_protected.h"
#include "content/content_debug.h"
#include "content/hlcache.h"
+#include "content/urldb.h"
#define URL_FMT_SPC "%.140s"
diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 7227023..1fa3161 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -818,6 +818,11 @@ static nserror browser_window_content_ready(struct
browser_window *bw)
browser_window_create_iframes(bw,
html_get_iframe(bw->current_content));
}
+ /* Indicate page status may have changed */
+ if (res == NSERROR_OK) {
+ res = guit->window->event(bw->window,
GW_EVENT_PAGE_INFO_CHANGE);
+ }
+
return res;
}
diff --git a/include/netsurf/window.h b/include/netsurf/window.h
index 38ce295..8f14a8c 100644
--- a/include/netsurf/window.h
+++ b/include/netsurf/window.h
@@ -119,6 +119,12 @@ enum gui_window_event {
* selection started
*/
GW_EVENT_START_SELECTION,
+
+ /**
+ * Page status has changed and so the padlock should be
+ * updated.
+ */
+ GW_EVENT_PAGE_INFO_CHANGE,
};
/**
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org