summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Facchini <stefano.facchini@gmail.com>2012-10-02 17:17:52 +0200
committerStefano Facchini <stefano.facchini@gmail.com>2012-10-13 17:06:56 +0200
commit74860f74c9155128901b5041e4c7fc8a707bcddd (patch)
treef95e3e3c1936f3b0dac9bf980e73a9a5728662a7
parent5374f0292d007758332a91d476acf3c573e7dc6b (diff)
downloadbaobab-74860f74c9155128901b5041e4c7fc8a707bcddd.tar.gz
Show the usage level bar only for volumes
https://bugzilla.gnome.org/show_bug.cgi?id=685050
-rw-r--r--src/baobab-location-widget.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/baobab-location-widget.vala b/src/baobab-location-widget.vala
index a79da47..b1d7021 100644
--- a/src/baobab-location-widget.vala
+++ b/src/baobab-location-widget.vala
@@ -70,7 +70,7 @@ namespace Baobab {
label.get_style_context ().add_class ("dim-label");
attach (label, 1, 1, 1, 1);
- if (location.used != null && location.size != null) {
+ if (location.is_volume && location.used != null && location.size != null) {
label = new Gtk.Label ("<small>%s / %s</small>".printf (format_size (location.used), format_size (location.size)));
usage_size_group.add_widget (label);
label.use_markup = true;