mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 00:51:50 -08:00
Update Android port
* java/org/gnu/emacs/EmacsContextMenu.java (EmacsContextMenu) (addItem): New argument `tooltip'.
This commit is contained in:
parent
55634b5f79
commit
dcc3c63c6e
1 changed files with 6 additions and 2 deletions
|
|
@ -139,11 +139,14 @@ public final class EmacsContextMenu
|
|||
|
||||
If this is not a submenu and ISCHECKABLE is set, make the item
|
||||
checkable. Likewise, if ISCHECKED is set, make the item
|
||||
checked. */
|
||||
checked.
|
||||
|
||||
If TOOLTIP is non-NULL, set the menu item tooltip to TOOLTIP. */
|
||||
|
||||
public void
|
||||
addItem (int itemID, String itemName, boolean isEnabled,
|
||||
boolean isCheckable, boolean isChecked)
|
||||
boolean isCheckable, boolean isChecked,
|
||||
String tooltip)
|
||||
{
|
||||
Item item;
|
||||
|
||||
|
|
@ -153,6 +156,7 @@ public final class EmacsContextMenu
|
|||
item.isEnabled = isEnabled;
|
||||
item.isCheckable = isCheckable;
|
||||
item.isChecked = isChecked;
|
||||
item.tooltip = tooltip;
|
||||
|
||||
menuItems.add (item);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue