summaryrefslogtreecommitdiff
path: root/plugins/gtkui/actions.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-08 21:15:56 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-08 22:26:08 +0100
commit8dff8126ff47b4939b04e514e55b764299bd8e12 (patch)
tree81ece1ec9268f9ae80019f497faa596db8febe34 /plugins/gtkui/actions.c
parenteb9b2a08d260a241b97e543ea8e313a1e7385637 (diff)
added several new action stubs; added flag to explicitly tell which actions should appear in the menus; fixed few issues in the hotkeys config dialog
Diffstat (limited to 'plugins/gtkui/actions.c')
-rw-r--r--plugins/gtkui/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/actions.c b/plugins/gtkui/actions.c
index ee7831f6..9d514d64 100644
--- a/plugins/gtkui/actions.c
+++ b/plugins/gtkui/actions.c
@@ -86,7 +86,7 @@ add_mainmenu_actions (void)
for (action = actions; action; action = action->next)
{
char *tmp = NULL;
- if (0 == (action->flags & DB_ACTION_COMMON))
+ if (!(action->flags & DB_ACTION_COMMON) || !(action->flags & DB_ACTION_ADD_MENU))
continue;
// 1st check if we have slashes