mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
parent
52706f56a5
commit
045877094b
@ -37,10 +37,9 @@ import javax.swing.UIManager;
|
|||||||
*/
|
*/
|
||||||
public class Platform extends processing.app.Platform {
|
public class Platform extends processing.app.Platform {
|
||||||
|
|
||||||
// TODO Need to be smarter here since KDE people ain't gonna like that GTK.
|
|
||||||
// It may even throw a weird exception at 'em for their trouble.
|
|
||||||
@Override
|
@Override
|
||||||
public void setLookAndFeel() throws Exception {
|
public void setLookAndFeel() throws Exception {
|
||||||
|
super.setLookAndFeel();
|
||||||
GTKLookAndFeelFixer.installGtkPopupBugWorkaround();
|
GTKLookAndFeelFixer.installGtkPopupBugWorkaround();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
build/linux/dist/arduino
vendored
2
build/linux/dist/arduino
vendored
@ -25,7 +25,7 @@ if [ -x "$APPDIR/java/bin/java" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Collect options to java in an array, to properly handle whitespace in options
|
# Collect options to java in an array, to properly handle whitespace in options
|
||||||
JAVA_OPTIONS=("-DAPP_DIR=$APPDIR" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel")
|
JAVA_OPTIONS=("-DAPP_DIR=$APPDIR")
|
||||||
|
|
||||||
# Only show the splash screen when no options are present
|
# Only show the splash screen when no options are present
|
||||||
if [[ "$@" != *"--"* ]] ; then
|
if [[ "$@" != *"--"* ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user