aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-12 02:21:23 +0800
committerXan Lopez <xan@igalia.com>2012-01-14 04:21:46 +0800
commit042f09bcf84db2ade9aa18f881ac5064aacbf116 (patch)
tree00a2a71a94d286561b5773387e1a7a5afc79a4b6 /src/bookmarks
parentade53ab2fdcec609ca42b1277be1f8889bafbaa7 (diff)
downloadgsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.gz
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.bz2
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.lz
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.xz
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.zst
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.zip
Drop menubar and create an actions menu button in the toolbar
Similar to Chrome's wrench menu, but used only (in the future) for page-related actions. For now we have mechanically moved most stuff there, now we need to start removing them one by one when appropriate.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c
index 66d675df7..994b32213 100644
--- a/src/bookmarks/ephy-bookmarks-ui.c
+++ b/src/bookmarks/ephy-bookmarks-ui.c
@@ -93,9 +93,9 @@ activate_bookmarks_menu (GtkAction *action, EphyWindow *window)
if (!bookmarks_menu_string->len)
{
g_string_append (bookmarks_menu_string,
- "<ui><menubar><menu name=\"BookmarksMenu\" action=\"Bookmarks\">");
+ "<ui><popup name=\"PagePopup\" action=\"PopupAction\"><menu name=\"BookmarksMenu\" action=\"Bookmarks\">");
ephy_bookmarks_menu_build (bookmarks_menu_string, 0);
- g_string_append (bookmarks_menu_string, "</menu></menubar></ui>");
+ g_string_append (bookmarks_menu_string, "</menu></popup></ui>");
}
data->bookmarks_menu = gtk_ui_manager_add_ui_from_string