Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/nav/panel.c

    rb336bfd8 r2309891  
    365365}
    366366
     367/** Get current directory from panel.
     368 *
     369 * @param panel Panel
     370 * @return Path to current directory or @c NULL if out of memory
     371 */
     372char *panel_get_dir(panel_t *panel)
     373{
     374        return ui_file_list_get_dir(panel->flist);
     375}
     376
     377/** Refresh panel contents.
     378 *
     379 * @param panel Panel
     380 * @return EOK on success or an error code
     381 */
     382errno_t panel_refresh(panel_t *panel)
     383{
     384        errno_t rc;
     385
     386        rc = ui_file_list_refresh(panel->flist);
     387        if (rc != EOK)
     388                return rc;
     389
     390        return panel_paint(panel);
     391}
     392
    367393/** Request panel activation.
    368394 *
Note: See TracChangeset for help on using the changeset viewer.