Changeset 5e758e4 in mainline for uspace/app
- Timestamp:
- 2023-11-19T12:22:11Z (23 months ago)
- Branches:
- master, topic/simplify-dev-export
- Children:
- 69935a8
- Parents:
- e8a6279f
- Location:
- uspace/app/taskbar-cfg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar-cfg/smeedit.c
re8a6279f r5e758e4 41 41 #include "taskbar-cfg.h" 42 42 #include "smeedit.h" 43 #include "startmenu.h" 43 44 44 45 static void wnd_close(ui_window_t *, void *); … … 111 112 } 112 113 114 smee->startmenu = smenu; 113 115 smee->smentry = smentry; 114 116 … … 361 363 362 364 (void)smenu_entry_save(smee->smentry->entry); 363 365 startmenu_entry_update(smee->smentry); 364 366 smeedit_destroy(smee); 365 367 } -
uspace/app/taskbar-cfg/startmenu.c
re8a6279f r5e758e4 398 398 } 399 399 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 */ 407 errno_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 400 413 /** Entry in entry list is selected. 401 414 * -
uspace/app/taskbar-cfg/startmenu.h
re8a6279f r5e758e4 48 48 extern startmenu_entry_t *startmenu_get_selected(startmenu_t *); 49 49 extern void startmenu_edit(startmenu_t *); 50 extern errno_t startmenu_entry_update(startmenu_entry_t *); 50 51 51 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.