X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FConfigurationDialog.java;h=a8d212c9c5522645969840ae1a598491997c5abd;hb=b232aebb9732be0bb6b6252c57bca77836a9298b;hp=f398200cd4a64b44d052bc55b03680da7f03b14e;hpb=b9455984497cc0e9bc58d7b33eaf951e992eb141;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java b/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java index f398200..a8d212c 100644 --- a/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java +++ b/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java @@ -40,7 +40,6 @@ import net.pterodactylus.util.swing.SwingUtils; * The configuration dialog. * * @author David Roden - * @version $Id$ */ public class ConfigurationDialog extends JDialog implements I18nable { @@ -443,7 +442,7 @@ public class ConfigurationDialog extends JDialog implements I18nable { lookAndFeelWrappers.add(new LookAndFeelWrapper(lookAndFeelInfo.getClassName(), lookAndFeelInfo.getName())); } customLAFComboBox = new JComboBox(lookAndFeelWrappers.toArray(new LookAndFeelWrapper[0])); - interfaceTweaksConfigPanel.add(customLAFComboBox, new GridBagConstraints(1, 4, 2, 1, 1.0, 1.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(6, 6, 0, 0), 0, 0)); + interfaceTweaksConfigPanel.add(customLAFComboBox, new GridBagConstraints(1, 4, 2, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(6, 6, 0, 0), 0, 0)); interfaceTweaksConfigPanel.add(new JPanel(), new GridBagConstraints(0, 5, 3, 1, 1.0, 1.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); @@ -492,10 +491,12 @@ public class ConfigurationDialog extends JDialog implements I18nable { public void updateI18n() { okayAction.updateI18n(); cancelAction.updateI18n(); + advancedModeAction.updateI18n(); restartRequiredLabel.updateI18n(); antialiasAction.updateI18n(); useCustomControlFontAction.updateI18n(); useCustomUserFontAction.updateI18n(); + useCustomLAFAction.updateI18n(); SwingUtils.repackCentered(this); } @@ -503,7 +504,6 @@ public class ConfigurationDialog extends JDialog implements I18nable { * Wrapper around class name and name of a {@link LookAndFeel}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class LookAndFeelWrapper {