Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0458770

Browse files
committed
Fix LookAndFeel loader
Fix #8119 Close #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‎

Lines changed: 1 addition & 2 deletions
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /