[epiphany/overview] ephy-window: show the overview instead of the homepage
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/overview] ephy-window: show the overview instead of the homepage
- Date: Mon, 20 Aug 2012 16:13:40 +0000 (UTC)
commit 5a22b5b1ced4cceb241580ff3b45b6f5fb07293e
Author: Claudio Saavedra <csaavedra igalia com>
Date: Mon Aug 20 18:58:44 2012 +0300
ephy-window: show the overview instead of the homepage
And likewise, hide it if opening a different page.
src/ephy-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6f8f8e3..5b76407 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -549,6 +549,7 @@ ephy_window_open_link (EphyLink *link,
(ephy_shell,
EPHY_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (embed))),
embed, address, ntflags);
+ ephy_embed_set_overview_mode (new_embed, !!(flags & EPHY_LINK_HOME_PAGE));
}
else
{
@@ -556,10 +557,12 @@ ephy_window_open_link (EphyLink *link,
if (address == NULL || address[0] == '\0' || g_str_equal (address, "about:blank"))
{
+ ephy_embed_set_overview_mode (embed, TRUE);
ephy_window_activate_location (window);
}
else
{
+ ephy_embed_set_overview_mode (embed, FALSE);
gtk_widget_grab_focus (GTK_WIDGET (embed));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]