[vlc-commits] macosx: fix hiding of shuffle & repeat buttons

Brendon Justin git at videolan.org
Tue Aug 14 23:33:24 CEST 2012


vlc | branch: master | Brendon Justin <brendonjustin at gmail.com> | 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 <fkuehne at videolan.org>

> 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 )



More information about the vlc-commits mailing list