summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/gtkui/actions.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gtkui/actions.c b/plugins/gtkui/actions.c
index 72ec3dc8..969e489e 100644
--- a/plugins/gtkui/actions.c
+++ b/plugins/gtkui/actions.c
@@ -86,7 +86,10 @@ add_mainmenu_actions (void)
for (action = actions; action; action = action->next)
{
char *tmp = NULL;
- if (!(action->flags & DB_ACTION_COMMON) || !(action->flags & DB_ACTION_ADD_MENU))
+
+ int has_addmenu = (action->flags & DB_ACTION_COMMON) && ((action->flags & DB_ACTION_ADD_MENU) | (action->flags & DB_ACTION_USING_API_14));
+
+ if (!has_addmenu)
continue;
// 1st check if we have slashes