static gboolean
new_op_started_timeout (NautilusProgressInfo *info)
{
	if (nautilus_progress_info_get_is_paused (info)) {
		return TRUE;
	}
	if (!nautilus_progress_info_get_is_finished (info)) {
		handle_new_progress_info (info);
	}
	g_object_unref (info);
	return FALSE;
}
示例#2
0
static gboolean
new_op_queued_timeout (TimeoutData *data)
{
	NemoProgressInfo *info = data->info;
	NemoProgressUIHandler *self = data->self;

	if (nemo_progress_info_get_is_paused (info)) {
		return TRUE;
	}

	if (!nemo_progress_info_get_is_finished (info)) {
		handle_new_progress_info (self, info);
	}

	timeout_data_free (data);

	return FALSE;
}
static gboolean
new_op_started_timeout (TimeoutData *data)
{
    AthenaProgressInfo *info = data->info;
    AthenaProgressUIHandler *self = data->self;

    if (athena_progress_info_get_is_paused (info)) {
        return TRUE;
    }

    if (!athena_progress_info_get_is_finished (info)) {
        handle_new_progress_info (self, info);
    }

    timeout_data_free (data);

    return FALSE;
}