aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2013-09-15 18:22:23 +0800
committerLAN-TW <lantw44@gmail.com>2013-09-15 18:22:23 +0800
commit17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f (patch)
tree860328e3b358125b688d24e913aad4267f83fe65 /src/ephy-window.c
parent774d016516f2af752cc9f2d17e0a95d0feb754b0 (diff)
downloadgsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar.gz
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar.bz2
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar.lz
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar.xz
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.tar.zst
gsoc2013-epiphany-17c25e5bdfa617b67ac3a40f4d7a43f70cb8e91f.zip
Archive creating can be cancelled
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index bec411398..c05734ab8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -168,6 +168,8 @@ static const GtkActionEntry ephy_menu_entries [] = {
{ "ViewEncoding", NULL, N_("Text _Encoding"), NULL, NULL, NULL },
{ "ViewPageSource", NULL, N_("_Page Source"), "<control>U", NULL,
G_CALLBACK (window_cmd_view_page_source) },
+ { "ViewStopArchiving", NULL, N_("Stop _Archiving"), NULL, NULL,
+ G_CALLBACK (window_cmd_view_stop_archiving) },
/* Bookmarks actions. */
@@ -1994,6 +1996,8 @@ 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,
+ priv->action_group, "ViewStopArchiving");
webkit_context_menu_append (context_menu,
webkit_context_menu_item_new_separator ());
add_action_to_context_menu (context_menu,