void UpdateRecentLogs(object o, EventArgs args)
{
for (int i = 0; i < max_history_count; i++) {
Gtk.Action action = group.GetAction ("RecentLogs" + i);
if (i < history.LogFiles.Count) {
LogInfo info = history.LogFiles [i];
action.Label = "_" + i + ": " + info.Caption;
action.Tooltip = info.Filename;
action.Visible = true;
} else
action.Visible = false;
}
}