vlc | branch: master | Brendon Justin <[email protected]> | Tue Aug 14 15:02:47 2012 -0400| [210225b22f14555ced872c7a8c966a8dcde0ddce] | committer: Felix Paul Kühne
macosx: fix hiding of shuffle & repeat buttons Fixes #7333 Signed-off-by: Felix Paul Kühne <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=210225b22f14555ced872c7a8c966a8dcde0ddce --- modules/gui/macosx/MainWindow.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 806f783..9c1b02f 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -321,6 +321,10 @@ static VLCMainWindow *_o_sharedInstance = nil; if (b_show_jump_buttons) [self addJumpButtons]; + b_show_playmode_buttons = config_GetInt( VLCIntf, "macosx-show-playmode-buttons" ); + if (!b_show_playmode_buttons) + [self removePlaymodeButtons]; + /* interface builder action */ float f_threshold_height = f_min_video_height + [o_bottombar_view frame].size.height; if( b_dark_interface ) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
