Changeset 550ed86 in mainline for uspace/app/taskbar-cfg/smeedit.c
- Timestamp:
- 2023-12-19T17:25:58Z (5 months ago)
- Branches:
- master, topic/simplify-dev-export
- Children:
- 7130754
- Parents:
- f87ff8e
- git-author:
- Jiri Svoboda <jiri@…> (2023-12-19 17:19:18)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-12-19 17:25:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar-cfg/smeedit.c
rf87ff8e r550ed86 116 116 117 117 ui_wnd_params_init(¶ms); 118 params.caption = smentry != NULL ? "Edit Start Menu Entry" 119 :"Create Start Menu Entry";118 params.caption = smentry != NULL ? "Edit Start Menu Entry" : 119 "Create Start Menu Entry"; 120 120 if (ui_is_textmode(ui)) { 121 121 params.rect.p0.x = 0; … … 345 345 { 346 346 smeedit_t *smee; 347 smenu_entry_t *entry; 348 startmenu_entry_t *smentry; 347 349 const char *cmd; 348 350 const char *caption; … … 358 360 /* Create new entry */ 359 361 rc = smenu_entry_create(smee->startmenu->tbarcfg->tbarcfg, 360 caption, cmd );362 caption, cmd, &entry); 361 363 if (rc != EOK) 362 364 return; 365 366 rc = startmenu_insert(smee->startmenu, entry, &smentry); 367 if (rc != EOK) 368 return; 369 370 startmenu_repaint(smee->startmenu); 363 371 } else { 364 372 /* Edit existing entry */ 365 366 367 373 rc = smenu_entry_set_cmd(smee->smentry->entry, cmd); 368 374 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.