disable the recent files menu if it is empty