aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ephy-toolbars-model.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-toolbars-model.c b/src/ephy-toolbars-model.c
index 86501452c..96cecdc6f 100755
--- a/src/ephy-toolbars-model.c
+++ b/src/ephy-toolbars-model.c
@@ -121,7 +121,9 @@ update_flags_and_save_changes (EphyToolbarsModel *model)
g_return_if_fail (t_name != NULL);
flags = egg_toolbars_model_get_flags (eggmodel, i);
- egg_toolbars_model_set_flags (eggmodel, i, flags | flag);
+ flags &= ~EGG_TB_MODEL_NOT_REMOVABLE;
+ flags |= flag;
+ egg_toolbars_model_set_flags (eggmodel, i, flags);
}
save_changes (model);