mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Complete last commit, which was missing the actual code changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31370 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e75bdaf6ef
commit
bba99ed040
3 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2010-09-17 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Palettes/4Data/GormTextViewAttributesInspector.h:
|
||||
* Palettes/4Data/GormTextViewAttributesInspector.m (-ok:, -revert:):
|
||||
* Palettes/4Data/GormNSTextViewInspector.gorm: Add switches to the
|
||||
text view inspector to control use of an undo manager and the find
|
||||
panel, respectively.
|
||||
|
|
|
@ -47,7 +47,9 @@
|
|||
NSButton *selectableButton;
|
||||
NSButton *editableButton;
|
||||
NSButton *multipleFontsButton;
|
||||
NSButton *graphicsButton;
|
||||
NSButton *graphicsButton;
|
||||
NSButton *undoButton;
|
||||
NSButton *findPanelButton;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -102,6 +102,15 @@
|
|||
{
|
||||
[object setImportsGraphics:[graphicsButton state]];
|
||||
}
|
||||
else if ( sender == undoButton )
|
||||
{
|
||||
[object setAllowsUndo:[undoButton state]];
|
||||
}
|
||||
else if ( sender == findPanelButton )
|
||||
{
|
||||
[object setUsesFindPanel:[findPanelButton state]];
|
||||
}
|
||||
|
||||
|
||||
[super ok:sender];
|
||||
}
|
||||
|
@ -129,6 +138,8 @@
|
|||
[editableButton setState:[object isEditable]];
|
||||
[multipleFontsButton setState:[object isRichText]];
|
||||
[graphicsButton setState:[object importsGraphics]];
|
||||
[undoButton setState:[object allowsUndo]];
|
||||
[findPanelButton setState:[object usesFindPanel]];
|
||||
|
||||
[super revert:sender];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue