rcaelers/workrave — pull request #15 by jay (2012-04-04 06:58:20+00:00)
Title: Add the capability to delete all stored statistics

This is something a client asked me to add. He needed the ability to delete statistics history files in order to be in compliance with Italian law and not violate "Law 300/70". I added the capability to delete statistics on the backend and on the frontend I put a delete button in StatisticsDialog. When clicking the button it asks for confirmation before deleting. During the deletion process the operation mode is temporarily overriden as suspended.

backend/include/IStatistics.hh
backend/src/Statistics.cc
backend/src/Statistics.hh
frontend/plugin/statistics/gtkmm/src/StatisticsDialog.cc
frontend/plugin/statistics/gtkmm/src/StatisticsDialog.hh

- Add the capability to delete all statistics history files.