[baobab/wip/vala: 1/53] Revert "chart: Fix directory size shown in tooltip"
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/vala: 1/53] Revert "chart: Fix directory size shown in tooltip"
- Date: Thu, 5 Apr 2012 21:33:48 +0000 (UTC)
commit 03a40a6081976724feb14495de3c75d5c5873bf1
Author: Stefano Facchini <stefano facchini gmail com>
Date: Thu Apr 5 20:37:43 2012 +0200
Revert "chart: Fix directory size shown in tooltip"
This reverts commit af46a41474a4f70493268fd23544266efb96be5b.
src/baobab-chart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/baobab-chart.c b/src/baobab-chart.c
index ce44497..f2c6d5a 100644
--- a/src/baobab-chart.c
+++ b/src/baobab-chart.c
@@ -420,7 +420,7 @@ baobab_chart_add_item (BaobabChart *chart,
{
BaobabChartItem *item;
gchar *name;
- gchar *size;
+ guint64 size;
gtk_tree_model_get (chart->priv->model, &iter,
chart->priv->name_column, &name,
@@ -429,7 +429,7 @@ baobab_chart_add_item (BaobabChart *chart,
item = g_new (BaobabChartItem, 1);
item->name = name;
- item->size = size;
+ item->size = g_format_size (size);
item->depth = depth;
item->rel_start = rel_start;
item->rel_size = rel_size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]