[vlc-commits] macosx: work-around a corner case and disallow the sidebar' s library item to collapse
Felix Paul Kühne
git at videolan.org
Tue Feb 21 17:46:38 CET 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb 21 17:45:23 2012 +0100| [5e2484703be953e0d35094eec54543a88cf91f95] | committer: Felix Paul Kühne
macosx: work-around a corner case and disallow the sidebar's library item to collapse
(cherry picked from commit 74c8629c42ef2c9bf8f96ff9caae75968f386bf5)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=5e2484703be953e0d35094eec54543a88cf91f95
---
modules/gui/macosx/MainWindow.m | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index a2807a7..a952f0c 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -2013,6 +2013,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
/* taken under BSD-new from the PXSourceList sample project, adapted for VLC */
- (BOOL)sourceList:(PXSourceList*)aSourceList isGroupAlwaysExpanded:(id)group
{
+ if ([[group identifier] isEqualToString:@"library"])
+ return YES;
+
return NO;
}
More information about the vlc-commits
mailing list