aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
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);
}