public void MovePrevTask()
{
TreePath path;
TreeViewColumn column;
m_tasksTreeView.GetCursor (out path, out column);
if (path == null) {
MoveLastTask ();
return;
}
if (path.Indices [0] > 0) {
path = new TreePath (new int[] {path.Indices[0] - 1});
m_tasksTreeView.SetCursor (path, column, false);
}
}