[epiphany] ephy-shell: consider the overview as a blank page
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-shell: consider the overview as a blank page
- Date: Sun, 2 Sep 2012 21:26:20 +0000 (UTC)
commit eedef109f733889645ec93317629d795fdfa55dd
Author: Xan Lopez <xan igalia com>
Date: Sun Sep 2 23:24:46 2012 +0200
ephy-shell: consider the overview as a blank page
We were only considering about:blank, but about:overview should be
assumed to be "blank" as far as replacing it with actual pages is
concerned.
src/ephy-shell.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 56e0ed2..5eb3dfc 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -754,8 +754,9 @@ ephy_shell_new_tab_full (EphyShell *shell,
/* If the active embed is blank, use that to open the url and jump to it */
embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
if (embed != NULL) {
- if (ephy_web_view_get_is_blank (ephy_embed_get_web_view (embed)) &&
- ephy_web_view_is_loading (ephy_embed_get_web_view (embed)) == FALSE) {
+ EphyWebView *view = ephy_embed_get_web_view (embed);
+ if ((ephy_web_view_get_is_blank (view) || ephy_embed_get_overview_mode (embed)) &&
+ ephy_web_view_is_loading (view) == FALSE) {
active_is_blank = TRUE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]