diff options
-rw-r--r-- | data/ui/epiphany-ui.xml | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml index 2ba404b4a..9bcf8ca9d 100644 --- a/data/ui/epiphany-ui.xml +++ b/data/ui/epiphany-ui.xml @@ -126,6 +126,8 @@ <separator /> <menuitem name="EditCopyDP" action="EditCopy"/> <separator /> + <menuitem name="BookmarkPageDP" action="ContextBookmarkPage"/> + <separator /> <menuitem name="OpenFrameFDP" action="OpenFrame"/> <separator /> <menuitem name="OpenImageDP" action="OpenImage"/> diff --git a/src/ephy-window.c b/src/ephy-window.c index cea892ae3..603096792 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -298,7 +298,12 @@ static const GtkToggleActionEntry ephy_menu_toggle_entries [] = }; static const GtkActionEntry ephy_popups_entries [] = { + /* Document */ + { "ContextBookmarkPage", STOCK_ADD_BOOKMARK, N_("Add Boo_kmarkā¦"), "<control>D", + N_("Add a bookmark for the current page"), + G_CALLBACK (window_cmd_file_bookmark_page) }, + /* Framed document */ { "OpenFrame", NULL, N_("Show Only _This Frame"), NULL, |