Changeset 5e758e4 in mainline for uspace/app/taskbar-cfg/startmenu.c


Ignore:
Timestamp:
2023-11-19T12:22:11Z (16 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, topic/simplify-dev-export
Children:
69935a8
Parents:
e8a6279f
Message:

When start menu entry is edited, editor list needs updating

We need to update the entry caption in the UI list to reflect
any changes made while the entry was being edited.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskbar-cfg/startmenu.c

    re8a6279f r5e758e4  
    398398}
    399399
     400/** Update start menu entry caption.
     401 *
     402 * When editing an entry the entry's label might change. We need
     403 * to update the list entry caption to reflect that.
     404 *
     405 * @param entry Start menu entry
     406 */
     407errno_t startmenu_entry_update(startmenu_entry_t *entry)
     408{
     409        return ui_list_entry_set_caption(entry->lentry,
     410            smenu_entry_get_caption(entry->entry));
     411}
     412
    400413/** Entry in entry list is selected.
    401414 *
Note: See TracChangeset for help on using the changeset viewer.