vlc | branch: master | David Fuhrmann <[email protected]> | Fri Apr 14 
14:10:07 2017 +0200| [22df164f7a10f7f6d69ed625e2a7676fa374114d] | committer: 
David Fuhrmann

macosx: error panel: support right to left languages

close #17262

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22df164f7a10f7f6d69ed625e2a7676fa374114d
---

 modules/gui/macosx/VLCErrorWindowController.m | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/gui/macosx/VLCErrorWindowController.m 
b/modules/gui/macosx/VLCErrorWindowController.m
index fc305bc70a..e3b8455bd0 100644
--- a/modules/gui/macosx/VLCErrorWindowController.m
+++ b/modules/gui/macosx/VLCErrorWindowController.m
@@ -54,6 +54,10 @@
     /* init strings */
     [self.window setTitle: _NS("Errors and Warnings")];
     [self.cleanupButton setTitle: _NS("Clean up")];
+
+    if ([[NSApplication sharedApplication] userInterfaceLayoutDirection] == 
NSUserInterfaceLayoutDirectionRightToLeft) {
+        [self.errorTable moveColumn:0 toColumn:1];
+    }
 }
 
 - (void)addError:(NSString *)title withMsg:(NSString *)message;

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

Reply via email to