gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18675 - gnunet-gtk/src/statistics


From: gnunet
Subject: [GNUnet-SVN] r18675 - gnunet-gtk/src/statistics
Date: Sun, 18 Dec 2011 17:40:45 +0100

Author: grothoff
Date: 2011-12-18 17:40:45 +0100 (Sun, 18 Dec 2011)
New Revision: 18675

Modified:
   gnunet-gtk/src/statistics/gnunet-statistics-gtk.c
Log:
-allow shutdown via tray, update to stats name based on changes in main 
datastore code

Modified: gnunet-gtk/src/statistics/gnunet-statistics-gtk.c
===================================================================
--- gnunet-gtk/src/statistics/gnunet-statistics-gtk.c   2011-12-18 16:40:06 UTC 
(rev 18674)
+++ gnunet-gtk/src/statistics/gnunet-statistics-gtk.c   2011-12-18 16:40:45 UTC 
(rev 18675)
@@ -87,7 +87,7 @@
 static const struct PlotInfo storage_data[] = 
   {
     { "datastore", "# quota", "datastore capacity", "blue" },
-    { "datastore", "# bytes stored", "datastore utilization", "yellow" },
+    { "datastore", "# utilization by current datastore", "datastore 
utilization", "yellow" },
     { "datastore", "# cache size", "reservation for datastore cache", "green" 
},
     { "datastore", "# bytes purged (low-priority)", "discarded due to limited 
space", "red" },
     { NULL, NULL, NULL}
@@ -233,7 +233,16 @@
   GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
 }
 
+/**
+ * Callback invoked if the application is supposed to exit from the tray.
+ */
+void
+GNUNET_GTK_quit_cb (GObject * object, gpointer user_data)
+{
+  GNUNET_STATISTICS_GTK_quit_cb (object, user_data);
+}
 
+
 /**
  * Actual main function run right after GNUnet's scheduler
  * is initialized.  Initializes up GTK and Glade.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]