mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
* GormCore/GormConnectionInspector.m: Added awakeFromNib method
to call setDoubleAction: on the newBrowser (connection) object so that double click will now cause a connection to be made. * GormCore/GormGenericEditor.m: Initialize local variables in refreshCells method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23939 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
260f3233c2
commit
b6bfd4b2cb
3 changed files with 16 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-10-21 16:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormConnectionInspector.m: Added awakeFromNib method
|
||||
to call setDoubleAction: on the newBrowser (connection) object
|
||||
so that double click will now cause a connection to be made.
|
||||
* GormCore/GormGenericEditor.m: Initialize local variables in
|
||||
refreshCells method.
|
||||
|
||||
2006-10-21 11:45-EDT Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Palettes/3Containers/GormTableViewEditor.m: Implement documentRect.
|
||||
|
|
|
@ -61,6 +61,11 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
[newBrowser setDoubleAction: @selector(ok:)];
|
||||
}
|
||||
|
||||
- (int) browser: (NSBrowser*)sender numberOfRowsInColumn: (int)column
|
||||
{
|
||||
int rows = 0;
|
||||
|
|
|
@ -255,10 +255,10 @@
|
|||
- (void) refreshCells
|
||||
{
|
||||
unsigned count = [objects count];
|
||||
unsigned index;
|
||||
unsigned index = 0;
|
||||
int cols = 0;
|
||||
int rows;
|
||||
int width;
|
||||
int rows = 0;
|
||||
int width = 0;
|
||||
|
||||
width = [[self superview] bounds].size.width;
|
||||
while (width >= 72)
|
||||
|
|
Loading…
Reference in a new issue