diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-09-15 20:35:07 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-09-15 20:35:51 +0800 |
commit | f69c1fa76e874e0dd4210d896174b03c6d250fba (patch) | |
tree | 1a9dbf399079d61f510b0472a50d307fb071fd24 /src | |
parent | 17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f (diff) | |
download | gsoc2013-epiphany-f69c1fa76e874e0dd4210d896174b03c6d250fba.tar.gz gsoc2013-epiphany-f69c1fa76e874e0dd4210d896174b03c6d250fba.tar.zst gsoc2013-epiphany-f69c1fa76e874e0dd4210d896174b03c6d250fba.zip |
Show "Stop Archiving" only when the EphyWebView is archivingHEADarchive-creationarchive-integration
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index c05734ab8..57364cd70 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1996,8 +1996,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, |