From: Duncan Mac-Vicar P Date: Fri, 27 Jul 2007 11:43:28 +0000 (+0000) Subject: - Some cosmetic changes to display the cache ticks X-Git-Tag: BASE-SuSE-Linux-10_3-Branch~249 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03d88a5a7baa29fa10caa07c7f472b03b5c9cdb6;p=platform%2Fupstream%2Fzypper.git - Some cosmetic changes to display the cache ticks --- 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