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


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

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

    r2a0c827c rebb1489  
    515515
    516516        (void)smee;
     517        (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg);
    517518        (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT);
    518519}
     
    534535        (void)startmenu_insert(smenu, entry, &smentry);
    535536        (void)ui_control_paint(ui_list_ctl(smenu->entries_list));
     537        (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg);
    536538        (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT);
    537539}
     
    620622        startmenu_t *smenu = (startmenu_t *)arg;
    621623        startmenu_entry_t *smentry;
    622         errno_t rc;
    623624
    624625        (void)pbutton;
     
    628629                return;
    629630
    630         rc = smenu_entry_destroy(smentry->entry);
    631         if (rc != EOK)
    632                 return;
    633 
     631        smenu_entry_destroy(smentry->entry);
    634632        ui_list_entry_delete(smentry->lentry);
    635633        free(smentry);
     634
    636635        (void)ui_control_paint(ui_list_ctl(smenu->entries_list));
     636        (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg);
    637637        (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT);
    638638}
     
    673673        startmenu_t *smenu = (startmenu_t *)arg;
    674674        startmenu_entry_t *smentry;
    675         errno_t rc;
    676675
    677676        (void)pbutton;
     
    681680                return;
    682681
    683         rc = smenu_entry_move_up(smentry->entry);
    684         if (rc != EOK)
    685                 return;
    686 
     682        smenu_entry_move_up(smentry->entry);
    687683        ui_list_entry_move_up(smentry->lentry);
    688684
    689685        (void)ui_control_paint(ui_list_ctl(smenu->entries_list));
     686        (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg);
    690687        (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT);
    691688}
     
    700697        startmenu_t *smenu = (startmenu_t *)arg;
    701698        startmenu_entry_t *smentry;
    702         errno_t rc;
    703699
    704700        (void)pbutton;
     
    708704                return;
    709705
    710         rc = smenu_entry_move_down(smentry->entry);
    711         if (rc != EOK)
    712                 return;
    713 
     706        smenu_entry_move_down(smentry->entry);
    714707        ui_list_entry_move_down(smentry->lentry);
    715708
    716709        (void)ui_control_paint(ui_list_ctl(smenu->entries_list));
     710        (void)tbarcfg_sync(smenu->tbarcfg->tbarcfg);
    717711        (void)tbarcfg_notify(TBARCFG_NOTIFY_DEFAULT);
    718712}
Note: See TracChangeset for help on using the changeset viewer.