mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 12:41:01 +00:00
Patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6e46b25f8b
commit
a503b7d0a2
4 changed files with 15 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2007-10-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSDocument.m (-setPrintInfo:, -runPageLayout:): Move
|
||||
updateChangeCount: call from one method to the other.
|
||||
* Source/NSPageLayout.m (-okButtonClicked:,
|
||||
-cancelButtonClicked:): Use standard button return codes.
|
||||
* Source/NSTableView.m (-validateEditing): Initialize
|
||||
newObjectValue with nil.
|
||||
Patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
|
||||
|
||||
2007-10-06 23:03-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h
|
||||
|
|
|
@ -1163,6 +1163,7 @@ originalContentsURL: (NSURL *)orig
|
|||
- (void)setPrintInfo: (NSPrintInfo *)printInfo
|
||||
{
|
||||
ASSIGN(_print_info, printInfo);
|
||||
[self updateChangeCount: NSChangeDone];
|
||||
}
|
||||
|
||||
|
||||
|
@ -1195,7 +1196,6 @@ originalContentsURL: (NSURL *)orig
|
|||
&& [self shouldChangePrintInfo: printInfo])
|
||||
{
|
||||
[self setPrintInfo: printInfo];
|
||||
[self updateChangeCount: NSChangeDone];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -543,13 +543,13 @@ enum {
|
|||
- (void) okButtonClicked: (id)sender
|
||||
{
|
||||
[self writePrintInfo];
|
||||
[NSApp stopModalWithCode: NSPLOKButton];
|
||||
[NSApp stopModalWithCode: NSOKButton];
|
||||
}
|
||||
|
||||
|
||||
- (void) cancelButtonClicked: (id)sender
|
||||
{
|
||||
[NSApp stopModalWithCode: NSPLCancelButton];
|
||||
[NSApp stopModalWithCode: NSCancelButton];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -3154,7 +3154,7 @@ byExtendingSelection: (BOOL)flag
|
|||
{
|
||||
NSFormatter *formatter;
|
||||
NSString *string;
|
||||
id newObjectValue;
|
||||
id newObjectValue = nil;
|
||||
BOOL validatedOK = YES;
|
||||
|
||||
formatter = [_editedCell formatter];
|
||||
|
@ -3185,7 +3185,7 @@ byExtendingSelection: (BOOL)flag
|
|||
else
|
||||
{
|
||||
SEL sel = @selector(control:didFailToFormatString:errorDescription:);
|
||||
newObjectValue = nil;
|
||||
|
||||
if ([_delegate respondsToSelector: sel])
|
||||
{
|
||||
validatedOK = [_delegate control: self
|
||||
|
|
Loading…
Reference in a new issue