diff options
author | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-12-19 02:45:27 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-12-19 02:45:27 +0800 |
commit | c11f1cdf6ca0da2844899675f2578892e05d29d7 (patch) | |
tree | c1bc47f9bb86b2fbdc43d4c2dcf738ae9ffd1c0c | |
parent | 530408cbb0c062810157d74ee80c4255cc1e86a3 (diff) | |
download | gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar.gz gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar.bz2 gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar.lz gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar.xz gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.tar.zst gsoc2013-epiphany-c11f1cdf6ca0da2844899675f2578892e05d29d7.zip |
Readd "Add to Bookmark" entry to the document context menu.
Bug #332968.
svn path=/trunk/; revision=7786
-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, |