macosx: Fix the grid vs list view switching in the library view, and in transitions between library views

Merged Claudio Cambra requested to merge claucambra/vlc:work/fix-gridvslist-view-button into master

This PR fixes the grid-vs-list segmented button to work correctly throughout the library views.


Prior to this PR, the buttons would not work in the video or audio views and the selection made in these views would not be respected when switching to the media source views:


Signed-off-by: Claudio Cambra

Merge request reports