From 3f6b18a56b47b6d5c4154b54f32ff440b2b0fc27 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 29 Mar 2010 00:27:16 -0400 Subject: [PATCH] Reverted the status bar back to its previous behavior - list results are now shown at the end. --- Frame.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index d434a79..ab89142 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2871,16 +2871,18 @@ do local profile = addon.db.profile local max_value = profile.includefiltered and Player.recipes_total or Player.recipes_total_filtered + local cur_value = Player.recipes_known local progress_bar = MainPanel.progress_bar if not profile.includeexcluded and not profile.ignoreexclusionlist then max_value = max_value - Player.excluded_recipes_known end progress_bar:SetMinMaxValues(0, max_value) - progress_bar:SetValue(recipe_count) + progress_bar:SetValue(cur_value) if (floor(recipe_count / max_value * 100) < 101) and recipe_count >= 0 and max_value >= 0 then - progress_bar.text:SetFormattedText("%d / %d - %1.2f%%", recipe_count, max_value, recipe_count / max_value * 100) + local results = string.format(SINGLE_PAGE_RESULTS_TEMPLATE, recipe_count) + progress_bar.text:SetFormattedText("%d / %d - %1.2f%% - (%s)", cur_value, max_value, recipe_count / max_value * 100, results) else progress_bar.text:SetFormattedText("0 / 0 - %s", L["NOT_YET_SCANNED"]) end -- 1.7.9.5