Logic error when no media
svn: r16269
This commit is contained in:
parent
f23992ade1
commit
3de630b8af
@ -1456,9 +1456,9 @@ class ViewManager(CLIManager):
|
|||||||
mbytes = "< 1"
|
mbytes = "< 1"
|
||||||
else:
|
else:
|
||||||
mbytes = str(bytes)[:(length-6)]
|
mbytes = str(bytes)[:(length-6)]
|
||||||
label = gtk.Label(_("Media:"))
|
|
||||||
except OSError:
|
except OSError:
|
||||||
label = gtk.Label(_("Media:"))
|
pass
|
||||||
|
label = gtk.Label(_("Media:"))
|
||||||
label.set_justify(gtk.JUSTIFY_LEFT)
|
label.set_justify(gtk.JUSTIFY_LEFT)
|
||||||
label.set_size_request(90, -1)
|
label.set_size_request(90, -1)
|
||||||
label.set_alignment(0, .5)
|
label.set_alignment(0, .5)
|
||||||
|
Loading…
Reference in New Issue
Block a user