[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:45:26 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb 21 17:45:23 2012 +0100| [74c8629c42ef2c9bf8f96ff9caae75968f386bf5] | committer: Felix Paul Kühne
macosx: work-around a corner case and disallow the sidebar's library item to collapse
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74c8629c42ef2c9bf8f96ff9caae75968f386bf5
---
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 94df540..14f30f0 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