aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/ephy-toolbars-model.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a10648b2..924d1d29e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-31 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-toolbars-model.c: (update_flags_and_save_changes):
+
+ Correctly clear the not-removable toolbar flag.
+
2004-07-30 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/ContentHandler.cpp:
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);