diff options
author | waker <wakeroid@gmail.com> | 2012-11-04 20:33:08 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-11-04 20:33:08 +0100 |
commit | 507066e6d3eaf4e1812eb9bf2c0791e6f2670f04 (patch) | |
tree | 9d58e494cedc7c64f23f6376d976afed670709f1 /plugins/gtkui/ddbtabstrip.c | |
parent | 4a96b1a94e135617a1388b5b26040d774db2fc34 (diff) |
transition to the new plugin action API (WIP)
Diffstat (limited to 'plugins/gtkui/ddbtabstrip.c')
-rw-r--r-- | plugins/gtkui/ddbtabstrip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/ddbtabstrip.c b/plugins/gtkui/ddbtabstrip.c index f367b0f8..ed91107e 100644 --- a/plugins/gtkui/ddbtabstrip.c +++ b/plugins/gtkui/ddbtabstrip.c @@ -890,7 +890,7 @@ on_actionitem_activate (GtkMenuItem *menuitem, if (tab_clicked != -1) { plt = deadbeef->plt_get_for_idx (tab_clicked); } - action->callback (action, plt); + action->callback (action, NULL, DDB_ACTION_CTX_PLAYLIST); deadbeef->plt_unref (plt); } @@ -936,7 +936,7 @@ add_tab_actions (GtkWidget *menu) { for (action = actions; action; action = action->next) { char *tmp = NULL; - if (!(action->flags & DB_ACTION_PLAYLIST)) + if (!(action->flags & DB_ACTION_MULTIPLE_TRACKS)) continue; // create submenus (separated with '/') |