[vlc-commits] [Git][videolan/vlc][master] macosx: Fix shows segment list view mode

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun May 10 16:51:04 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
45cbe9e8 by Claudio Cambra at 2026-05-10T18:31:36+02:00
macosx: Fix shows segment list view mode

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


2 changed files:

- modules/gui/macosx/library/video-library/VLCLibraryVideoTableViewDelegate.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.m


Changes:

=====================================
modules/gui/macosx/library/video-library/VLCLibraryVideoTableViewDelegate.h
=====================================
@@ -22,11 +22,11 @@
 
 #import <Cocoa/Cocoa.h>
 
-#import "library/VLCLibraryTableViewDelegate.h"
+#import "library/VLCLibraryMasterDetailViewTableViewDelegate.h"
 
 NS_ASSUME_NONNULL_BEGIN
 
- at interface VLCLibraryVideoTableViewDelegate : VLCLibraryTableViewDelegate
+ at interface VLCLibraryVideoTableViewDelegate : VLCLibraryMasterDetailViewTableViewDelegate
 
 @end
 


=====================================
modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.m
=====================================
@@ -142,6 +142,8 @@
                                  bundle:nil];
     [self.videoLibraryGroupSelectionTableView registerNib:tableCellViewNib
                                            forIdentifier:@"VLCVideoLibraryTableViewCellIdentifier"];
+    [self.videoLibraryGroupsTableView registerNib:tableCellViewNib
+                                   forIdentifier:@"VLCVideoLibraryTableViewCellIdentifier"];
     
     self.videoLibraryGroupSelectionTableView.floatsGroupRows = NO;
 }
@@ -297,6 +299,14 @@
     [self setupShowsDataSource];
     self.videoLibraryCollectionView.dataSource = self.libraryShowsDataSource;
 
+    self.videoLibraryGroupsTableView.dataSource = self.libraryShowsDataSource;
+    self.videoLibraryGroupsTableView.target = self.libraryShowsDataSource;
+    self.videoLibraryGroupsTableView.delegate = _videoLibraryTableViewDelegate;
+
+    self.videoLibraryGroupSelectionTableView.dataSource = self.libraryShowsDataSource;
+    self.videoLibraryGroupSelectionTableView.target = self.libraryShowsDataSource;
+    self.videoLibraryGroupSelectionTableView.delegate = _videoLibraryTableViewDelegate;
+
     // Shows uses the master/detail split view, not the single sectioned table.
     // The master and detail table views are wired in setupShowsDataSource.
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45cbe9e8cb9310d6d582e6dde0e15ab98e72d639

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45cbe9e8cb9310d6d582e6dde0e15ab98e72d639
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list