Changeset b8b64a8 in mainline for uspace/app
- Timestamp:
- 2021-04-12T15:52:12Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6186f9f
- Parents:
- d65accb
- Location:
- uspace/app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/calculator/calculator.c
rd65accb rb8b64a8 899 899 } 900 900 901 rc = ui_menu_entry_create(mfile, "Exit", &mexit);901 rc = ui_menu_entry_create(mfile, "Exit", "Alt-F4", &mexit); 902 902 if (rc != EOK) { 903 903 printf("Error creating menu.\n"); … … 913 913 } 914 914 915 rc = ui_menu_entry_create(medit, "Copy", &mcopy);915 rc = ui_menu_entry_create(medit, "Copy", "Ctrl-C", &mcopy); 916 916 if (rc != EOK) { 917 917 printf("Error creating menu.\n"); … … 921 921 ui_menu_entry_set_cb(mcopy, calc_edit_copy, (void *) &calc); 922 922 923 rc = ui_menu_entry_create(medit, "Paste", &mpaste);923 rc = ui_menu_entry_create(medit, "Paste", "Ctrl-V", &mpaste); 924 924 if (rc != EOK) { 925 925 printf("Error creating menu.\n"); -
uspace/app/uidemo/uidemo.c
rd65accb rb8b64a8 269 269 } 270 270 271 rc = ui_menu_entry_create(demo.mfile, "Foo", &mfoo);272 if (rc != EOK) { 273 printf("Error creating menu.\n"); 274 return rc; 275 } 276 277 rc = ui_menu_entry_create(demo.mfile, "Bar", &mbar);278 if (rc != EOK) { 279 printf("Error creating menu.\n"); 280 return rc; 281 } 282 283 rc = ui_menu_entry_create(demo.mfile, "Foobar", &mfoobar);284 if (rc != EOK) { 285 printf("Error creating menu.\n"); 286 return rc; 287 } 288 289 rc = ui_menu_entry_create(demo.mfile, "Exit", &mexit);271 rc = ui_menu_entry_create(demo.mfile, "Foo", "Ctrl-Alt-Del", &mfoo); 272 if (rc != EOK) { 273 printf("Error creating menu.\n"); 274 return rc; 275 } 276 277 rc = ui_menu_entry_create(demo.mfile, "Bar", "", &mbar); 278 if (rc != EOK) { 279 printf("Error creating menu.\n"); 280 return rc; 281 } 282 283 rc = ui_menu_entry_create(demo.mfile, "Foobar", "", &mfoobar); 284 if (rc != EOK) { 285 printf("Error creating menu.\n"); 286 return rc; 287 } 288 289 rc = ui_menu_entry_create(demo.mfile, "Exit", "Alt-F4", &mexit); 290 290 if (rc != EOK) { 291 291 printf("Error creating menu.\n"); … … 313 313 } 314 314 315 rc = ui_menu_entry_create(demo.mhelp, "About", &mabout);315 rc = ui_menu_entry_create(demo.mhelp, "About", "Ctrl-H, F1", &mabout); 316 316 if (rc != EOK) { 317 317 printf("Error creating menu.\n");
Note:
See TracChangeset
for help on using the changeset viewer.