Author: rpmcruz Date: Mon Mar 17 00:47:38 2008 New Revision: 45502 URL: http://svn.opensuse.org/viewcvs/yast?rev=45502&view=rev Log: Add "B" to size to indicate the unit. Modified: trunk/gtk/src/yzyppwrapper.cc Modified: trunk/gtk/src/yzyppwrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=45502&r1=45501&r2=45502&view=diff ============================================================================== --- trunk/gtk/src/yzyppwrapper.cc (original) +++ trunk/gtk/src/yzyppwrapper.cc Mon Mar 17 00:47:38 2008 @@ -295,7 +295,7 @@ text += br + br + "<b>" + _("Reboot needed!") + "</b>"; } if (impl->type != PATCH_TYPE) - text += br + "<b>" + _("Size:") + "</b> " + object->size().asString(); + text += br + "<b>" + _("Size:") + "</b> " + object->size().asString() + "B"; return text; } @@ -1225,9 +1225,9 @@ partition->used = it->pkg_size; partition->total = it->total_size; partition->used_str = - zypp::ByteCount (partition->used, zypp::ByteCount::K).asString(); + zypp::ByteCount (partition->used, zypp::ByteCount::K).asString() + "B"; partition->total_str = - zypp::ByteCount (partition->total, zypp::ByteCount::K).asString(); + zypp::ByteCount (partition->total, zypp::ByteCount::K).asString() + "B"; partitions = g_slist_append (partitions, (gpointer) partition); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org