summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index c3e1ebec54..aeda39ba14 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1586,6 +1586,11 @@ MENUITEM_FUNCTION(list_viewers_item, 0, ID2P(LANG_ONPLAY_OPEN_WITH),
1586MENUITEM_FUNCTION(properties_item, MENU_FUNC_USEPARAM, ID2P(LANG_PROPERTIES), 1586MENUITEM_FUNCTION(properties_item, MENU_FUNC_USEPARAM, ID2P(LANG_PROPERTIES),
1587 onplay_load_plugin, (void *)"properties", 1587 onplay_load_plugin, (void *)"properties",
1588 clipboard_callback, Icon_NOICON); 1588 clipboard_callback, Icon_NOICON);
1589#ifdef HAVE_TAGCACHE
1590MENUITEM_FUNCTION(pictureflow_item, MENU_FUNC_USEPARAM, ID2P(LANG_ONPLAY_PICTUREFLOW),
1591 onplay_load_plugin, (void *)"pictureflow",
1592 clipboard_callback, Icon_NOICON);
1593#endif
1589static bool onplay_add_to_shortcuts(void) 1594static bool onplay_add_to_shortcuts(void)
1590{ 1595{
1591 shortcuts_add(SHORTCUT_BROWSER, selected_file); 1596 shortcuts_add(SHORTCUT_BROWSER, selected_file);
@@ -1652,7 +1657,8 @@ static int clipboard_callback(int action,
1652 { 1657 {
1653 if (((selected_file_attr & FILE_ATTR_MASK) == 1658 if (((selected_file_attr & FILE_ATTR_MASK) ==
1654 FILE_ATTR_AUDIO) && 1659 FILE_ATTR_AUDIO) &&
1655 this_item == &properties_item) 1660 (this_item == &properties_item ||
1661 this_item == &pictureflow_item))
1656 return action; 1662 return action;
1657 return ACTION_EXIT_MENUITEM; 1663 return ACTION_EXIT_MENUITEM;
1658 } 1664 }
@@ -1751,6 +1757,9 @@ MAKE_ONPLAYMENU( tree_onplay_menu, ID2P(LANG_ONPLAY_MENU_TITLE),
1751 &set_backdrop_item, 1757 &set_backdrop_item,
1752#endif 1758#endif
1753 &list_viewers_item, &create_dir_item, &properties_item, 1759 &list_viewers_item, &create_dir_item, &properties_item,
1760#ifdef HAVE_TAGCACHE
1761 &pictureflow_item,
1762#endif
1754#ifdef HAVE_RECORDING 1763#ifdef HAVE_RECORDING
1755 &set_recdir_item, 1764 &set_recdir_item,
1756#endif 1765#endif