Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2021-04-12T15:52:12Z (8 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
6186f9f
Parents:
d65accb
Message:

Add column with keyboard shortcuts to menu

File:
1 edited

Legend:

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

    rd65accb rb8b64a8  
    899899        }
    900900
    901         rc = ui_menu_entry_create(mfile, "Exit", &mexit);
     901        rc = ui_menu_entry_create(mfile, "Exit", "Alt-F4", &mexit);
    902902        if (rc != EOK) {
    903903                printf("Error creating menu.\n");
     
    913913        }
    914914
    915         rc = ui_menu_entry_create(medit, "Copy", &mcopy);
     915        rc = ui_menu_entry_create(medit, "Copy", "Ctrl-C", &mcopy);
    916916        if (rc != EOK) {
    917917                printf("Error creating menu.\n");
     
    921921        ui_menu_entry_set_cb(mcopy, calc_edit_copy, (void *) &calc);
    922922
    923         rc = ui_menu_entry_create(medit, "Paste", &mpaste);
     923        rc = ui_menu_entry_create(medit, "Paste", "Ctrl-V", &mpaste);
    924924        if (rc != EOK) {
    925925                printf("Error creating menu.\n");
Note: See TracChangeset for help on using the changeset viewer.