diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | src/ephy-toolbars-model.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -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); |