2008-09-03 02:07:10 |
Endolith |
gdebi: statusexplanation |
|
apt/Synaptic and the Installed-Size parameter of .deb files all measure in decimal (1000s of bytes), so "KiB" would be wrong. "KB" is also wrong, though. It should be "kB".
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Installed-Size
patch:
=== modified file 'GDebi/GDebi.py'
--- GDebi/GDebi.py 2008-08-05 14:24:05 +0000
+++ GDebi/GDebi.py 2008-09-03 02:00:11 +0000
@@ -221,7 +221,7 @@
self.label_maintainer.set_text(utf8(self._deb["Maintainer"]))
self.label_priority.set_text(self._deb["Priority"])
self.label_section.set_text(utf8(self._deb["Section"]))
- self.label_size.set_text(self._deb["Installed-Size"] + " KB")
+ self.label_size.set_text(self._deb["Installed-Size"] + " kB")
# set filelist
buf = self.textview_filelist.get_buffer()
=== modified file 'GDebi/GDebiKDE.py'
--- GDebi/GDebiKDE.py 2008-08-05 14:23:57 +0000
+++ GDebi/GDebiKDE.py 2008-09-03 02:03:26 +0000
@@ -257,7 +257,7 @@
self.DetailsMaintainer.setText(utf8(self._deb["Maintainer"]))
self.DetailsPriority.setText(self._deb["Priority"])
self.DetailsSection.setText(utf8(self._deb["Section"]))
- self.DetailsSize.setText(self._deb["Installed-Size"] + " KB")
+ self.DetailsSize.setText(self._deb["Installed-Size"] + " kB")
# set filelist
buf = self.IncFilesEdit
|
|