dsm 1271 src/filemanager/cmd.c dirsize_status_msg_t dsm; dsm 1276 src/filemanager/cmd.c memset (&dsm, 0, sizeof (dsm)); dsm 1277 src/filemanager/cmd.c status_msg_init (STATUS_MSG (&dsm), _("Directory scanning"), 0, dirsize_status_init_cb, dsm 1280 src/filemanager/cmd.c if (compute_dir_size (p, &dsm, &dir_count, &count, &total, FALSE) == FILE_CONT) dsm 1288 src/filemanager/cmd.c status_msg_deinit (STATUS_MSG (&dsm)); dsm 1308 src/filemanager/cmd.c dirsize_status_msg_t dsm; dsm 1310 src/filemanager/cmd.c memset (&dsm, 0, sizeof (dsm)); dsm 1311 src/filemanager/cmd.c status_msg_init (STATUS_MSG (&dsm), _("Directory scanning"), 0, dirsize_status_init_cb, dsm 1326 src/filemanager/cmd.c ok = compute_dir_size (p, &dsm, &dir_count, &count, &total, FALSE) != FILE_CONT; dsm 1335 src/filemanager/cmd.c status_msg_deinit (STATUS_MSG (&dsm)); dsm 200 src/filemanager/file.c dirsize_status_locate_buttons (dirsize_status_msg_t *dsm) dsm 202 src/filemanager/file.c status_msg_t *sm = STATUS_MSG (dsm); dsm 210 src/filemanager/file.c if (!dsm->allow_skip) dsm 213 src/filemanager/file.c x += (wd->rect.cols - dsm->abort_button->rect.cols) / 2; dsm 214 src/filemanager/file.c r = dsm->abort_button->rect; dsm 217 src/filemanager/file.c widget_set_size_rect (dsm->abort_button, &r); dsm 224 src/filemanager/file.c cols = dsm->abort_button->rect.cols + dsm->skip_button->rect.cols + 1; dsm 226 src/filemanager/file.c r = dsm->abort_button->rect; dsm 229 src/filemanager/file.c widget_set_size_rect (dsm->abort_button, &r); dsm 230 src/filemanager/file.c x += dsm->abort_button->rect.cols + 1; dsm 231 src/filemanager/file.c r = dsm->skip_button->rect; dsm 234 src/filemanager/file.c widget_set_size_rect (dsm->skip_button, &r); dsm 633 src/filemanager/file.c do_compute_dir_size (const vfs_path_t *dirname_vpath, dirsize_status_msg_t *dsm, dsm 641 src/filemanager/file.c status_msg_t *sm = STATUS_MSG (dsm); dsm 668 src/filemanager/file.c do_compute_dir_size (tmp_vpath, dsm, dir_count, ret_marked, ret_total, dsm 680 src/filemanager/file.c dsm->dirname_vpath = tmp_vpath; dsm 681 src/filemanager/file.c dsm->dir_count = *dir_count; dsm 682 src/filemanager/file.c dsm->total_size = *ret_total; dsm 761 src/filemanager/file.c dirsize_status_msg_t dsm; dsm 764 src/filemanager/file.c memset (&dsm, 0, sizeof (dsm)); dsm 765 src/filemanager/file.c dsm.allow_skip = TRUE; dsm 766 src/filemanager/file.c status_msg_init (STATUS_MSG (&dsm), _("Directory scanning"), 0, dirsize_status_init_cb, dsm 773 src/filemanager/file.c status = panel_compute_totals (panel, &dsm, &ctx->total_count, &ctx->total_bytes, dsm 782 src/filemanager/file.c status = do_compute_dir_size (source, &dsm, &dir_count, &ctx->total_count, dsm 792 src/filemanager/file.c status_msg_deinit (STATUS_MSG (&dsm)); dsm 3369 src/filemanager/file.c dirsize_status_msg_t *dsm = (dirsize_status_msg_t *) sm; dsm 3384 src/filemanager/file.c if (dsm->allow_skip) dsm 3388 src/filemanager/file.c dsm->dirname = label_new (2, 3, NULL); dsm 3389 src/filemanager/file.c group_add_widget (gd, dsm->dirname); dsm 3390 src/filemanager/file.c dsm->count_size = label_new (3, 3, NULL); dsm 3391 src/filemanager/file.c group_add_widget (gd, dsm->count_size); dsm 3394 src/filemanager/file.c dsm->abort_button = WIDGET (button_new (5, 3, FILE_ABORT, NORMAL_BUTTON, b1_name, NULL)); dsm 3395 src/filemanager/file.c group_add_widget (gd, dsm->abort_button); dsm 3396 src/filemanager/file.c if (dsm->allow_skip) dsm 3398 src/filemanager/file.c dsm->skip_button = WIDGET (button_new (5, 3, FILE_SKIP, NORMAL_BUTTON, b2_name, NULL)); dsm 3399 src/filemanager/file.c group_add_widget (gd, dsm->skip_button); dsm 3400 src/filemanager/file.c widget_select (dsm->skip_button); dsm 3406 src/filemanager/file.c dirsize_status_locate_buttons (dsm); dsm 3414 src/filemanager/file.c dirsize_status_msg_t *dsm = (dirsize_status_msg_t *) sm; dsm 3419 src/filemanager/file.c label_set_textv (dsm->count_size, _("Directories: %zu, total size: %s"), dsm 3420 src/filemanager/file.c dsm->dir_count, size_trunc_sep (dsm->total_size, panels_options.kilobyte_si)); dsm 3423 src/filemanager/file.c if (WIDGET (dsm->count_size)->rect.cols + 6 > r.cols) dsm 3425 src/filemanager/file.c r.cols = WIDGET (dsm->count_size)->rect.cols + 6; dsm 3427 src/filemanager/file.c dirsize_status_locate_buttons (dsm); dsm 3433 src/filemanager/file.c label_set_text (dsm->dirname, dsm 3434 src/filemanager/file.c str_trunc (vfs_path_as_str (dsm->dirname_vpath), wd->rect.cols - 6));