Ticket #28 (closed defect: fixed)

Opened 21 months ago

Last modified 13 months ago

Use SWT.MOD1 instead of SWT.CONTROL

Reported by: axel@… Owned by:
Priority: major Keywords:
Cc:

Description

Especially when it comes to OKing the commit dialog. The following snippet might help:

/**

  • Windows uses Ctrl for menu accelerators, Mac OS X uses Command. This
  • method can be invoked to print the correct name of
  • the modifier key. */

public static final String getNameOfMod1() {

return getNameOfKey(SWT.MOD1);

}

public static final String getNameOfKey(int keyCode) {

return LegacyActionTools?.findModifierString(keyCode);

}

Attachments

Change History

Changed 21 months ago by whit

  • status changed from new to closed
  • resolution set to fixed

Fixed in 0.8.8

Add/Change #28 (Use SWT.MOD1 instead of SWT.CONTROL)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.