Changeset c88d7f99 in mainline for uspace/app/calculator/calculator.c


Ignore:
Timestamp:
2022-03-10T17:44:35Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c38ab6c
Parents:
96c6a00
Message:

Menu entry accelerators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/calculator/calculator.c

    r96c6a00 rc88d7f99  
    902902        }
    903903
    904         rc = ui_menu_entry_create(mfile, "Exit", "Alt-F4", &mexit);
     904        rc = ui_menu_entry_create(mfile, "E~x~it", "Alt-F4", &mexit);
    905905        if (rc != EOK) {
    906906                printf("Error creating menu.\n");
     
    916916        }
    917917
    918         rc = ui_menu_entry_create(medit, "Copy", "Ctrl-C", &mcopy);
     918        rc = ui_menu_entry_create(medit, "~C~opy", "Ctrl-C", &mcopy);
    919919        if (rc != EOK) {
    920920                printf("Error creating menu.\n");
     
    924924        ui_menu_entry_set_cb(mcopy, calc_edit_copy, (void *) &calc);
    925925
    926         rc = ui_menu_entry_create(medit, "Paste", "Ctrl-V", &mpaste);
     926        rc = ui_menu_entry_create(medit, "~P~aste", "Ctrl-V", &mpaste);
    927927        if (rc != EOK) {
    928928                printf("Error creating menu.\n");
Note: See TracChangeset for help on using the changeset viewer.