public IceBackend()
{
initialized = false;
//
// Set up the Tasks ListStore
//
tasks = new Gtk.ListStore (typeof (ITask));
sortedTasks = new Gtk.TreeModelSort (tasks);
sortedTasks.SetSortFunc (0,
new Gtk.TreeIterCompareFunc (CompareTasksSortFunc));
sortedTasks.SetSortColumnId (0, Gtk.SortType.Ascending);
taskIters = new Dictionary<string, Gtk.TreeIter> ();
categories = new Gtk.ListStore (typeof (ICategory));
sortedCategories = new Gtk.TreeModelSort (categories);
sortedCategories.SetSortFunc (0,
new Gtk.TreeIterCompareFunc (CompareCategoriesSortFunc));
sortedCategories.SetSortColumnId (0, Gtk.SortType.Ascending);
categoryIters = new Dictionary<string, Gtk.TreeIter> ();
DaemonService.Initialize ();
}