diff options
-rw-r--r-- | embed/ephy-web-view.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 04ffa5c05..fc57e69f9 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2505,7 +2505,7 @@ ephy_web_view_init (EphyWebView *web_view) priv = web_view->priv = EPHY_WEB_VIEW_GET_PRIVATE (web_view); priv->is_blank = TRUE; - priv->is_archiving = TRUE; + priv->is_archiving = FALSE; priv->title = g_strdup (EMPTY_PAGE); priv->document_type = EPHY_WEB_VIEW_DOCUMENT_HTML; priv->security_level = EPHY_WEB_VIEW_STATE_IS_UNKNOWN; diff --git a/src/ephy-window.c b/src/ephy-window.c index a1b33649f..d2b76e735 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1994,8 +1994,11 @@ populate_context_menu (WebKitWebView *web_view, priv->toolbar_action_group, "NavigationForward"); add_action_to_context_menu (context_menu, priv->action_group, "ViewReload"); - add_action_to_context_menu (context_menu, + + if (ephy_web_view_get_is_archiving (EPHY_WEB_VIEW (web_view))) + add_action_to_context_menu (context_menu, priv->action_group, "ViewStopArchiving"); + webkit_context_menu_append (context_menu, webkit_context_menu_item_new_separator ()); add_action_to_context_menu (context_menu, |