adium/adium
Clone
Summary
Browse
Changes
Graph
Updated Changes.txt for 1.5.10.4.
adium-1.5.10.4
2017-04-25, Robert Vehse
09440b7b46e0
Updated Changes.txt for 1.5.10.4.
//
// 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