aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-13 07:50:45 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-13 07:50:45 +0800
commit6fbc14342b19c80f662d8cf4a728b65171218c09 (patch)
treeaf9f881b3bd7572c20cb00913f6af22f1b32b17c /src
parented1b7f2f077d456a0df346fc59ccfb6d218e164c (diff)
downloadgsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar.gz
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar.bz2
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar.lz
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar.xz
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.tar.zst
gsoc2013-epiphany-6fbc14342b19c80f662d8cf4a728b65171218c09.zip
Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 used
2006-02-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_toolbar): Place bookmarks on "BookmarksBar" toolbar, since that's what < 1.9 used too.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c8
1 files changed, 5 insertions, 3 deletions
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)))