From 6fbc14342b19c80f662d8cf4a728b65171218c09 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 12 Feb 2006 23:50:45 +0000 Subject: Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 used 2006-02-13 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (cmd_toolbar): Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 used too. --- src/bookmarks/ephy-bookmarks-editor.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/bookmarks') diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 1a2ac5f2b..039f8a251 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -443,13 +443,15 @@ cmd_toolbar (GtkAction *action, for (tpos = 0; tpos < egg_toolbars_model_n_toolbars (model); tpos++) { tname = egg_toolbars_model_toolbar_nth (model, tpos); - if (tname != NULL && strcmp (tname, "Bookmarks") == 0) - break; + + if (tname != NULL && + strcmp (tname, "BookmarksBar") == 0) + break; } if (tpos == egg_toolbars_model_n_toolbars (model)) { - tpos = egg_toolbars_model_add_toolbar (model, -1, "Bookmarks"); + tpos = egg_toolbars_model_add_toolbar (model, -1, "BookmarksBar"); } if (ephy_node_view_is_target (EPHY_NODE_VIEW (editor->priv->bm_view))) -- cgit v1.2.3