Ignore:
Timestamp:
2009-01-12T13:04:29+13:00 (15 years ago)
Author:
kjdon
Message:

committed code submitted by Amin Hedjazi for making the GLI right to left. I worked on this code on the rtl-gli branch, then merged the branch back to the trunk at revision 18368. The branch code was slightly different in a couple of places where it shouldn't have been. So don't use the branch code next time. Start a new branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/SimpleMenuBar.java

    r12119 r18370  
    1515    public SimpleMenuBar(String page_name) {
    1616    this.page_name = page_name;
     17        this.setComponentOrientation(Dictionary.getOrientation());
    1718    JMenu help = new JMenu();
     19        help.setComponentOrientation(Dictionary.getOrientation());
    1820    help.setIcon(JarTools.getImage("help.gif"));
    1921    help.setText(Dictionary.get("Menu.Help"));
    2022
    2123    JMenuItem help_help = new JMenuItem(Dictionary.get("Menu.Help"));
     24        help_help.setComponentOrientation(Dictionary.getOrientation());
    2225    help_help.addActionListener(this);
    2326   
Note: See TracChangeset for help on using the changeset viewer.