Commit 58c708a3 authored by Marvin Scholz's avatar Marvin Scholz

macosx: Display icons depending on renderer capabilities

parent da402162
......@@ -111,6 +111,10 @@
NSMenuItem *menuItem = [[NSMenuItem alloc]
if (item.capabilityFlags & VLC_RENDERER_CAN_VIDEO)
[menuItem setImage:[NSImage imageNamed:@"sidebar-movie"]];
[menuItem setImage:[NSImage imageNamed:@"sidebar-music"]];
[menuItem setTarget:self];
[menuItem setRepresentedObject:item];
[_rendererMenu insertItem:menuItem atIndex:[_rendererMenu indexOfItem:_rendererNoneItem] + 1];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment