From 9d6391aba379d4032d8be1d63d9535cb36163197 Mon Sep 17 00:00:00 2001 From: Peter Harvey Date: Tue, 14 Feb 2006 12:32:09 +0000 Subject: src/bookmarks/ephy-bookmarks-editor.c 2006-02-10 Peter Harvey * src/bookmarks/ephy-bookmarks-editor.c Do not create the bookmarks bar when removing bookmarks from the toolbar. * lib/egg/egg-toolbars-model.c Fix infinite loop when a toolbar has no items on it. --- lib/egg/egg-toolbars-model.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/egg') diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c index 51ada3703..3162c304a 100755 --- a/lib/egg/egg-toolbars-model.c +++ b/lib/egg/egg-toolbars-model.c @@ -872,8 +872,10 @@ egg_toolbars_model_delete_item (EggToolbarsModel *model, item = g_node_first_child (toolbar); ipos = 0; + /* Don't delete toolbars that were already empty */ if (item == NULL) { + toolbar = g_node_next_sibling (toolbar); continue; } -- cgit v1.2.3