aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbars-model.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-31 19:16:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-31 19:16:32 +0800
commit6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f (patch)
tree9e835dedb92395c4da8689212c04067f85ba35d9 /src/ephy-toolbars-model.c
parent0af643bb58097e031e79fc56adf3a0b8ee1451ee (diff)
downloadgsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar.gz
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar.bz2
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar.lz
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar.xz
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.tar.zst
gsoc2013-epiphany-6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f.zip
Correctly clear the not-removable toolbar flag.
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.
Diffstat (limited to 'src/ephy-toolbars-model.c')
-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);