"Size" field in "Details" tab should show KiB units
Bug #44286 reported by
Elliott Hughes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi |
Fix Released
|
Low
|
Unassigned |
Bug Description
the "Installed-Size" field is measured in KiB, but the gdebi-gtk GUI presents it as an unadorned number.
(congratulations on having the correct behavior when the field is missing from the package, though. apt-get incorrectly claims the package is 0 KiB in that case, despite having the package available!)
Changed in gdebi: | |
status: | Fix Committed → Fix Released |
Changed in gdebi: | |
importance: | Medium → Low |
tags: | added: units-policy |
Changed in gdebi: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
here's a patch:
--- /usr/lib/ python2. 3/site- packages/ GDebi/GDebi. py.orig 2006-05-11 17:19:56.000000000 -0700 python2. 3/site- packages/ GDebi/GDebi. py 2006-05-11 17:21:40.000000000 -0700
self. label_maintaine r.set_text( self._deb[ "Maintainer" ])
self. label_priority. set_text( self._deb[ "Priority" ])
self. label_section. set_text( self._deb[ "Section" ]) size.set_ text(self. _deb["Installed -Size"] ) size.set_ text(self. _deb["Installed -Size"] + " KB")
+++ /usr/lib/
@@ -184,7 +184,7 @@
- self.label_
+ self.label_
# set filelist filelist. get_buffer( )
buf = self.textview_
i've used "KB" like Nautilus, rather than the "KiB" recommended by "man units".
--elliott