diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-31 19:16:32 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-31 19:16:32 +0800 |
commit | 6f8fb4ae6e3c8e3e1186fd59eb840386d1ad749f (patch) | |
tree | 9e835dedb92395c4da8689212c04067f85ba35d9 /src | |
parent | 0af643bb58097e031e79fc56adf3a0b8ee1451ee (diff) | |
download | gsoc2013-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')
-rwxr-xr-x | src/ephy-toolbars-model.c | 4 |
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); |