Skip to content

Commit 0458770

Browse files
committed
Fix LookAndFeel loader
Fix arduino#8119 Close arduino#8122
1 parent 52706f5 commit 0458770

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

arduino-core/src/processing/app/linux/Platform.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@
3737
*/
3838
public class Platform extends processing.app.Platform {
3939

40-
// TODO Need to be smarter here since KDE people ain't gonna like that GTK.
41-
// It may even throw a weird exception at 'em for their trouble.
4240
@Override
4341
public void setLookAndFeel() throws Exception {
42+
super.setLookAndFeel();
4443
GTKLookAndFeelFixer.installGtkPopupBugWorkaround();
4544
}
4645

build/linux/dist/arduino

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ -x "$APPDIR/java/bin/java" ]; then
2525
fi
2626

2727
# Collect options to java in an array, to properly handle whitespace in options
28-
JAVA_OPTIONS=("-DAPP_DIR=$APPDIR" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel")
28+
JAVA_OPTIONS=("-DAPP_DIR=$APPDIR")
2929

3030
# Only show the splash screen when no options are present
3131
if [[ "$@" != *"--"* ]] ; then

0 commit comments

Comments
 (0)