diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-04 17:26:25 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-04 17:26:25 +0800 |
commit | 15358f9939f56b8ba5bc9df4499a72d65535ce41 (patch) | |
tree | 4b7d37f6deeea333796ee95c7237c3ae9ae61db3 /src/ephy-window.c | |
parent | ee88ca67057b3635d4bb18b361ca6fd5ac8661e6 (diff) | |
download | gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar.gz gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar.bz2 gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar.lz gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar.xz gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.tar.zst gsoc2013-epiphany-15358f9939f56b8ba5bc9df4499a72d65535ce41.zip |
Add a bookmarks menu. (still not the tree)
2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org>
* data/ui/epiphany-ui.xml.in:
Add a bookmarks menu. (still not the tree)
* src/bookmarks/ephy-bookmark-action.c: (create_menu_item),
(ephy_bookmark_action_sync_icon),
(ephy_bookmark_action_sync_label), (activate_cb), (connect_proxy),
(ephy_bookmark_action_class_init):
Implement create_menu_item.
* src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type),
(go_location_cb), (ephy_favorites_menu_rebuild),
(ephy_favorites_menu_set_property),
(ephy_favorites_menu_get_property),
(ephy_favorites_menu_class_init), (ephy_favorites_menu_init),
(ephy_favorites_menu_finalize), (ephy_favorites_menu_new):
Use bookmark action.
* src/ephy-window.c:
Change verbs for bookmarks menu.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 20f45a8d5..b4f47c9d5 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -61,6 +61,7 @@ static EggActionGroupEntry ephy_menu_entries [] = { { "File", N_("_File"), NULL, NULL, NULL, NULL, NULL }, { "Edit", N_("_Edit"), NULL, NULL, NULL, NULL, NULL }, { "View", N_("_View"), NULL, NULL, NULL, NULL, NULL }, + { "Bookmarks", N_("_Bookmarks"), NULL, NULL, NULL, NULL, NULL }, { "Go", N_("_Go"), NULL, NULL, NULL, NULL, NULL }, { "Tabs", N_("_Tabs"), NULL, NULL, NULL, NULL, NULL }, { "Help", N_("_Help"), NULL, NULL, NULL, NULL, NULL }, @@ -84,9 +85,6 @@ static EggActionGroupEntry ephy_menu_entries [] = { { "FileSendTo", N_("S_end To..."), EPHY_STOCK_SEND_LINK, NULL, N_("Send a link of the current page"), G_CALLBACK (window_cmd_file_send_to), NULL }, - { "FileBookmarkPage", N_("Boo_kmark Page..."), EPHY_STOCK_BOOKMARK_PAGE, "<control>D", - N_("Add a bookmark for the current page"), - G_CALLBACK (window_cmd_file_bookmark_page), NULL }, { "FileCloseWindow", N_("_Close"), GTK_STOCK_CLOSE, "<control>W", N_("Close this window"), G_CALLBACK (window_cmd_file_close_window), NULL }, @@ -156,6 +154,14 @@ static EggActionGroupEntry ephy_menu_entries [] = { N_("View the source code of the page"), G_CALLBACK (window_cmd_view_page_source), NULL }, + /* Bookmarks menu */ + { "FileBookmarkPage", N_("_Add Bookmark"), EPHY_STOCK_BOOKMARK_PAGE, "<control>D", + N_("Add a bookmark for the current page"), + G_CALLBACK (window_cmd_file_bookmark_page), NULL }, + { "GoBookmarks", N_("_Edit Bookmarks"), EPHY_STOCK_BOOKMARKS, "<control>B", + N_("Go to a bookmark"), + G_CALLBACK (window_cmd_go_bookmarks), NULL }, + /* Go menu */ { "GoBack", N_("_Back"), GTK_STOCK_GO_BACK, "<alt>Left", N_("Go to the previous visited page"), @@ -175,9 +181,6 @@ static EggActionGroupEntry ephy_menu_entries [] = { { "GoHistory", N_("H_istory"), EPHY_STOCK_HISTORY, "<control>H", N_("Go to an already visited page"), G_CALLBACK (window_cmd_go_history), NULL }, - { "GoBookmarks", N_("Boo_kmarks"), EPHY_STOCK_BOOKMARKS, "<control>B", - N_("Go to a bookmark"), - G_CALLBACK (window_cmd_go_bookmarks), NULL }, /* Tabs menu */ { "TabsPrevious", N_("_Previous Tab"), NULL, "<control>Page_Up", |