Changeset 6186f9f in mainline for uspace/app/uidemo/uidemo.c


Ignore:
Timestamp:
2021-04-13T17:20:20Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3a7b0d
Parents:
b8b64a8
Message:

Add menu separator entry

File:
1 edited

Legend:

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

    rb8b64a8 r6186f9f  
    287287        }
    288288
     289        rc = ui_menu_entry_sep_create(demo.mfile, &mexit);
     290        if (rc != EOK) {
     291                printf("Error creating menu.\n");
     292                return rc;
     293        }
     294
    289295        rc = ui_menu_entry_create(demo.mfile, "Exit", "Alt-F4", &mexit);
    290296        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.