aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-21 06:20:08 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-21 06:20:08 +0800
commit7e816a76bac00b8c34bec6849d175bd478af2f16 (patch)
tree1cca9b151780fcfb0a3ad92185054a9fb6e3f0d9 /lib/egg/egg-editable-toolbar.c
parent1e6a2895325d8c697979404c9f767217b89da76e (diff)
downloadgsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar.gz
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar.bz2
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar.lz
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar.xz
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.tar.zst
gsoc2013-epiphany-7e816a76bac00b8c34bec6849d175bd478af2f16.zip
Fix logic error, spotted by Crispin.
2004-02-20 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (popup_toolbar_context_menu_cb): Fix logic error, spotted by Crispin. * lib/egg/egg-toolbars-model.h: Make it clear that EggTbModelFlags is a bitfield enum.
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index f1d496336..461d58247 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -519,7 +519,7 @@ popup_toolbar_context_menu_cb (GtkWidget *toolbar,
position = get_toolbar_position (t, toolbar);
flags = egg_toolbars_model_get_flags (t->priv->model, position);
- if (flags && EGG_TB_MODEL_NOT_REMOVABLE)
+ if (flags & EGG_TB_MODEL_NOT_REMOVABLE)
{
gtk_widget_set_sensitive (GTK_WIDGET (item), FALSE);
}