Changes in / [597fa24:9f945464] in mainline


Ignore:
Location:
uspace/app
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/aboutos/aboutos.c

    r597fa24 r9f945464  
    167167        ui_wnd_params_init(&params);
    168168        params.caption = "About HelenOS";
     169        params.placement = ui_wnd_place_center;
    169170
    170171        /* FIXME: Auto layout */
  • uspace/app/meson.build

    r597fa24 r9f945464  
    3737        'cpptest',
    3838        'date',
     39        'date_cfg',
    3940        'devctl',
    4041        'df',
  • uspace/app/taskbar/clock.c

    r597fa24 r9f945464  
    219219}
    220220
     221/** Launch date configuration application */
     222static errno_t taskbar_clock_launch_date_cfg(void)
     223{
     224        task_id_t id;
     225        const char *args[] = { "/app/date_cfg", NULL };
     226        return task_spawnv(&id, NULL, args[0], args);
     227}
     228
    221229/** Handle taskbar clock position event.
    222230 *
     
    233241        if (!gfx_pix_inside_rect(&pos, &clock->rect))
    234242                return ui_unclaimed;
     243
     244        if (event->type == POS_PRESS) {
     245                taskbar_clock_launch_date_cfg();
     246        }
    235247
    236248        return ui_claimed;
Note: See TracChangeset for help on using the changeset viewer.