Ignore:
Timestamp:
Apr 12, 2013, 6:21:37 PM (12 years ago)
Author:
alloc
Message:

AEI2.02:

  • Refs #23: Doesn't show on MacOS yet
Location:
java/installer2/src/net/oni2/aeinstaller
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/Images.properties

    r805 r806  
    66img.refresh=/net/oni2/aeinstaller/images/tango/view-refresh.png
    77
     8img.help=/net/oni2/aeinstaller/images/open_icon_library/help-3.png
    89img.stop=/net/oni2/aeinstaller/images/open_icon_library/media-playback-stop-7.png
    910img.about=/net/oni2/aeinstaller/images/open_icon_library/help-about-3.png
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r805 r806  
    1111import java.io.File;
    1212import java.io.FileNotFoundException;
     13import java.io.IOException;
     14import java.net.URI;
     15import java.net.URISyntaxException;
    1316import java.net.URL;
    1417import java.util.Date;
     
    403406                new AboutDialog().setVisible(true);
    404407        }
     408       
     409        @SuppressWarnings("unused")
     410        private void showHelp() {
     411                try {
     412                        Desktop.getDesktop().browse(new URI("http://wiki.oni2.net/AEI"));
     413                } catch (IOException e) {
     414                        e.printStackTrace();
     415                } catch (URISyntaxException e) {
     416                        e.printStackTrace();
     417                }
     418        }
    405419
    406420        private JFileChooser getConfigOpenSaveDialog(boolean save) {
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r805 r806  
    1313    - Action(name=settings, text=menu.settings, toolTipText=menu.settingsTooltip, icon=img.settings, onAction=[showSettings])
    1414    - Action(name=about, text=menu.about, toolTipText=menu.aboutTooltip, icon=img.about, onAction=[showAbout])
     15    - Action(name=help, text=menu.help, toolTipText=menu.helpTooltip, icon=img.help, onAction=[showHelp])
    1516    - Action(name=runOniFull, text=menu.runOniFull, toolTipText=menu.runOniFullTooltip, icon=img.oni, onAction=[oniFull])
    1617    - Action(name=runOniWin, text=menu.runOniWin, toolTipText=menu.runOniWinTooltip, icon=img.oni, onAction=[oniWin])
     
    2526        - JMenu(name=mainMenu, text=menu.main):
    2627            - JMenuItem(action=about)
     28            - JMenuItem(action=help)
    2729            - JMenuItem(action=settings)
    2830            - JMenuItem(action=exitAction)
  • java/installer2/src/net/oni2/aeinstaller/localization/MainWin.properties

    r805 r806  
    77menu.about=&About
    88menu.aboutTooltip=About
     9menu.help=&Help
     10menu.helpTooltip=Help
    911menu.exit=&Exit\tCtrl+Q
    1012menu.exitTooltip=Exit
Note: See TracChangeset for help on using the changeset viewer.