mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Implemenation of changes for task #10799. Send action on end/enter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@32760 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
473806659d
commit
6fb6fc17a1
8 changed files with 30 additions and 2 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
|||
2011-04-01 03:04-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Palettes/2Controls/GormNSTextFieldInspector.gorm: Add matrix
|
||||
for enter/end editing.
|
||||
* Palettes/2Controls/GormTextFieldAttributesInspector.h: Added
|
||||
ivar to point to new matrix
|
||||
* Palettes/2Controls/GormTextFieldAttributesInspector.m: Implement
|
||||
changes to handle "Send Action On Enter/End editing" per task #10799.
|
||||
Added code to ok: method to handle new matrix.
|
||||
|
||||
2011-04-01 03:04-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* GormInfo.plist: Bump version.
|
||||
* Version: Bump version for SVN version.
|
||||
|
||||
2011-01-04 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* GormCore/GormMatrixEditor.m (-connectTargetAtPoint:,
|
||||
|
|
|
@ -51,4 +51,5 @@
|
|||
Copyright = "Copyright (C) 1999-2010 FSF";
|
||||
CopyrightDescription = "Released under the GNU General Public License 3.0";
|
||||
NSBuildVersion = "1.2.13 May 19 2010";
|
||||
GSDesktopInstallationDomain=SYSTEM;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
textColor,
|
||||
editableSwitch,
|
||||
scrollableSwitch,
|
||||
selectableSwitch
|
||||
selectableSwitch,
|
||||
sendActionMatrix
|
||||
);
|
||||
Super = IBInspector;
|
||||
};
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -54,6 +54,7 @@
|
|||
NSButton *selectableSwitch;
|
||||
NSButton *scrollableSwitch;
|
||||
NSForm *tagForm;
|
||||
NSMatrix *sendActionMatrix;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -131,6 +131,11 @@
|
|||
{
|
||||
[object setTag: [[sender cellAtIndex: 0] intValue]];
|
||||
}
|
||||
else if (sender == sendActionMatrix)
|
||||
{
|
||||
BOOL sendActionOnEndEditing = ([[sender cellAtRow: 1 column: 0] state] == NSOnState);
|
||||
[[object cell] setSendsActionOnEndEditing: sendActionOnEndEditing];
|
||||
}
|
||||
|
||||
[super ok:sender];
|
||||
}
|
||||
|
@ -165,6 +170,11 @@
|
|||
|
||||
[[tagForm cellAtIndex: 0] setIntValue: [object tag]];
|
||||
|
||||
if([[object cell] sendsActionOnEndEditing])
|
||||
{
|
||||
[sendActionMatrix selectCellAtRow: 1 column: 0];
|
||||
}
|
||||
|
||||
[super revert:sender];
|
||||
}
|
||||
|
||||
|
|
2
Version
2
Version
|
@ -2,7 +2,7 @@
|
|||
# This file is included in various Makefile's to get version information.
|
||||
# Compatible with Bourne shell syntax, so it can included there too.
|
||||
|
||||
# The gcc version required to compile the library.
|
||||
# The minimum gcc version required to compile the library.
|
||||
GNUSTEP_GCC=2.95.0
|
||||
|
||||
# GNUstep GUI version required
|
||||
|
|
Loading…
Reference in a new issue