From 03d88a5a7baa29fa10caa07c7f472b03b5c9cdb6 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Fri, 27 Jul 2007 11:43:28 +0000 Subject: [PATCH] - Some cosmetic changes to display the cache ticks --- src/zypper-callbacks.cc | 4 ++-- src/zypper-misc.cc | 2 +- src/zypper-source-callbacks.h | 5 ++++- src/zypper-sources.cc | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/zypper-callbacks.cc b/src/zypper-callbacks.cc index b45d4d0..ef5b47d 100644 --- a/src/zypper-callbacks.cc +++ b/src/zypper-callbacks.cc @@ -24,8 +24,8 @@ void display_progress (const string& s, int percent) { void display_tick (const string& s) { static AliveCursor cursor; - - cout_v << CLEARLN << cursor++ << " " << s; + cursor++; + cout_v << CLEARLN << cursor << " " << s; cout_v << flush; } diff --git a/src/zypper-misc.cc b/src/zypper-misc.cc index 9308335..40c5d26 100644 --- a/src/zypper-misc.cc +++ b/src/zypper-misc.cc @@ -460,7 +460,7 @@ void load_repo_resolvables() manager.buildCache(repo); } // TranslatorExplanation speaking of a repository - cout_n << format(_("Reading repository %s...")) % repo.alias() << flush; + //cout_n << format(_("Reading repository %s...")) % repo.alias() << flush; repository = manager.createFromCache(repo); ResStore store = repository.resolvables(); diff --git a/src/zypper-source-callbacks.h b/src/zypper-source-callbacks.h index 53f86ac..2991dde 100644 --- a/src/zypper-source-callbacks.h +++ b/src/zypper-source-callbacks.h @@ -215,6 +215,7 @@ struct ProgressReportReceiver : public zypp::callback::ReceiveReport