vlc | branch: master | Felix Paul Kühne <[email protected]> | 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;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to