Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
976145ed by Claudio Cambra at 2024-03-29T10:53:24+00:00
macosx: Make playlist button in main menu toggle playlist sidebar
Signed-off-by: Claudio Cambra <develo...@claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/menus/VLCMainMenu.m
Changes:
=====================================
modules/gui/macosx/menus/VLCMainMenu.m
=====================================
@@ -29,6 +29,7 @@
#import "library/VLCLibraryWindow.h"
#import "library/VLCLibraryWindowController.h"
+#import "library/VLCLibraryWindowSplitViewController.h"
#import "main/VLCMain.h"
@@ -1465,7 +1466,8 @@ typedef NS_ENUM(NSInteger, VLCObjectType) {
- (IBAction)showPlaylist:(id)sender
{
- [[[VLCMain.sharedInstance libraryWindowController] window]
makeKeyAndOrderFront:sender];
+ [VLCMain.sharedInstance.libraryWindowController.window
makeKeyAndOrderFront:sender];
+ [VLCMain.sharedInstance.libraryWindow.splitViewController
togglePlaylistSidebar:self];
}
#pragma mark - Help and Docs
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/976145edea26a87c4d3832a27e5bdd808f19a392
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/976145edea26a87c4d3832a27e5bdd808f19a392
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits