aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-statistics-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/gnunet-statistics-gtk.c')
-rw-r--r--src/statistics/gnunet-statistics-gtk.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/statistics/gnunet-statistics-gtk.c b/src/statistics/gnunet-statistics-gtk.c
index 54feb943..e2115615 100644
--- a/src/statistics/gnunet-statistics-gtk.c
+++ b/src/statistics/gnunet-statistics-gtk.c
@@ -87,7 +87,7 @@ static const struct PlotInfo traffic_data[] =
87static const struct PlotInfo storage_data[] = 87static const struct PlotInfo storage_data[] =
88 { 88 {
89 { "datastore", "# quota", "datastore capacity", "blue" }, 89 { "datastore", "# quota", "datastore capacity", "blue" },
90 { "datastore", "# bytes stored", "datastore utilization", "yellow" }, 90 { "datastore", "# utilization by current datastore", "datastore utilization", "yellow" },
91 { "datastore", "# cache size", "reservation for datastore cache", "green" }, 91 { "datastore", "# cache size", "reservation for datastore cache", "green" },
92 { "datastore", "# bytes purged (low-priority)", "discarded due to limited space", "red" }, 92 { "datastore", "# bytes purged (low-priority)", "discarded due to limited space", "red" },
93 { NULL, NULL, NULL} 93 { NULL, NULL, NULL}
@@ -233,6 +233,15 @@ GNUNET_STATISTICS_GTK_quit_cb (GObject * object, gpointer user_data)
233 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); 233 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
234} 234}
235 235
236/**
237 * Callback invoked if the application is supposed to exit from the tray.
238 */
239void
240GNUNET_GTK_quit_cb (GObject * object, gpointer user_data)
241{
242 GNUNET_STATISTICS_GTK_quit_cb (object, user_data);
243}
244
236 245
237/** 246/**
238 * Actual main function run right after GNUnet's scheduler 247 * Actual main function run right after GNUnet's scheduler