adium/adium

Changelog tweaks.
adium-1.5.10.3
2017-04-04, Robert Vehse
e481eebf4f7c
Changelog tweaks.
//
// AXCDocumentController.m
// XtrasCreator
//
// Created by Mac-arena the Bored Zo on 2005-10-31.
// Copyright 2005 Adium Team. All rights reserved.
//
#import "AXCDocumentController.h"
#import "AXCStartingPointsController.h"
@implementation AXCDocumentController
//we want to hide the Starting Points window when a document is opened.
- (void) addDocument:(NSDocument *)document
{
[startingPointsController setStartingPointsVisible:NO];
[super addDocument:document];
}
//we want to show the Starting Points window again when the last document is closed.
- (void) removeDocument:(NSDocument *)document
{
[super removeDocument:document];
if (![[self documents] count])
[startingPointsController setStartingPointsVisible:YES];
}
@end