Changeset ebb1489 in mainline for uspace/app/taskbar-cfg/startmenu.c
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar-cfg/startmenu.c
r2a0c827c rebb1489 515 515 516 516 (void)smee; 517 (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg); 517 518 (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT); 518 519 } … … 534 535 (void)startmenu_insert(smenu, entry, &smentry); 535 536 (void)ui_control_paint(ui_list_ctl(smenu->entries_list)); 537 (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg); 536 538 (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT); 537 539 } … … 620 622 startmenu_t *smenu = (startmenu_t *)arg; 621 623 startmenu_entry_t *smentry; 622 errno_t rc;623 624 624 625 (void)pbutton; … … 628 629 return; 629 630 630 rc = smenu_entry_destroy(smentry->entry); 631 if (rc != EOK) 632 return; 633 631 smenu_entry_destroy(smentry->entry); 634 632 ui_list_entry_delete(smentry->lentry); 635 633 free(smentry); 634 636 635 (void)ui_control_paint(ui_list_ctl(smenu->entries_list)); 636 (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg); 637 637 (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT); 638 638 } … … 673 673 startmenu_t *smenu = (startmenu_t *)arg; 674 674 startmenu_entry_t *smentry; 675 errno_t rc;676 675 677 676 (void)pbutton; … … 681 680 return; 682 681 683 rc = smenu_entry_move_up(smentry->entry); 684 if (rc != EOK) 685 return; 686 682 smenu_entry_move_up(smentry->entry); 687 683 ui_list_entry_move_up(smentry->lentry); 688 684 689 685 (void)ui_control_paint(ui_list_ctl(smenu->entries_list)); 686 (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg); 690 687 (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT); 691 688 } … … 700 697 startmenu_t *smenu = (startmenu_t *)arg; 701 698 startmenu_entry_t *smentry; 702 errno_t rc;703 699 704 700 (void)pbutton; … … 708 704 return; 709 705 710 rc = smenu_entry_move_down(smentry->entry); 711 if (rc != EOK) 712 return; 713 706 smenu_entry_move_down(smentry->entry); 714 707 ui_list_entry_move_down(smentry->lentry); 715 708 716 709 (void)ui_control_paint(ui_list_ctl(smenu->entries_list)); 710 (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg); 717 711 (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT); 718 712 }
Note:
See TracChangeset
for help on using the changeset viewer.