[vlc-devel] commit: macosx: auto expand when we select one of the	elements in the preferences view. ( Derk-Jan Hartman )
    git version control 
    git at videolan.org
       
    Tue Jun 23 00:24:45 CEST 2009
    
    
  
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Wed Jun 10 14:49:37 2009 +0200| [e918ab5db636243218347ab24762452cb8ebfab8] | committer: Felix Paul Kühne 
macosx: auto expand when we select one of the elements in the preferences view.
This will hopefully help avoid some of the reports where people fail to notice that there is an expand triangle next to what they clicked on.
(cherry picked from commit dfd5ae96741d63ec29d0b4bf506e4a30b4651b9d)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e918ab5db636243218347ab24762452cb8ebfab8
---
 modules/gui/macosx/prefs.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index 0e25e9a..770381f 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -184,6 +184,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
 - (void)outlineViewSelectionDidChange:(NSNotification *)o_notification
 {
     [[o_tree itemAtRow:[o_tree selectedRow]] showView: o_prefs_view];
+    [o_tree expandItem:[o_tree itemAtRow:[o_tree selectedRow]]];
 }
 
 @end
    
    
More information about the vlc-devel
mailing list