aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favorites-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-favorites-menu.c')
-rw-r--r--src/ephy-favorites-menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-favorites-menu.c b/src/ephy-favorites-menu.c
index 91e28e4b9..60e477b6f 100644
--- a/src/ephy-favorites-menu.c
+++ b/src/ephy-favorites-menu.c
@@ -126,7 +126,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
children = ephy_node_get_children (fav);
xml = g_string_new (NULL);
- g_string_append (xml, "<Root><menu><submenu name=\"GoMenu\">"
+ g_string_append (xml, "<ui><menubar><menu name=\"GoMenu\">"
"<placeholder name=\"GoFavorites\">"
"<separator name=\"GoSep3\"/>");
@@ -153,7 +153,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
g_string_append (xml, "<menuitem name=\"");
g_string_append (xml, verb);
g_string_append (xml, "Menu");
- g_string_append (xml, "\" verb=\"");
+ g_string_append (xml, "\" action=\"");
g_string_append (xml, verb);
g_string_append (xml, "\"/>\n");
@@ -161,7 +161,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
}
ephy_node_thaw (fav);
- g_string_append (xml, "</placeholder></submenu></menu></Root>");
+ g_string_append (xml, "</placeholder></menu></menubar></ui>");
if (children->len > 0)
{