From 50404d84388ed339dc929ac1cbb27aae3a29cb51 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Sat, 30 Aug 2008 17:12:45 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Fixed=20Credits=20=E2=80=A2=20Added=20grabb?= =?UTF-8?q?er=20images=20=E2=80=A2=20Removed=20small=20icon=20of=20table?= =?UTF-8?q?=20and=20replaced=20with=20new=20one=20=E2=80=A2=20Added=20"Che?= =?UTF-8?q?cksum=20Table"=20to=20MainMenu=20=E2=80=A2=20Added=20extra=20sp?= =?UTF-8?q?litter=20grab=20handles=20=E2=80=A2=20Few=20other=20bits=20clea?= =?UTF-8?q?ned=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TablesList.m | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'TablesList.m') diff --git a/TablesList.m b/TablesList.m index 5733b008..06616069 100644 --- a/TablesList.m +++ b/TablesList.m @@ -52,6 +52,7 @@ loads all table names in array tables and reload the tableView [theResult dataSeek:i]; [tables addObject:[[theResult fetchRowAsArray] objectAtIndex:0]]; } + [tablesListView reloadData]; //query finished @@ -649,15 +650,25 @@ loads structure or source if tab selected the first time forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { - if ((rowIndex > 0) && [[aTableColumn identifier] isEqualToString:@"tables"]) { - [(ImageAndTextCell*)aCell setImage:[NSImage imageNamed:@"sl-icon_table"]]; + if (rowIndex > 0 && [[aTableColumn identifier] isEqualToString:@"tables"]) { + [(ImageAndTextCell*)aCell setImage:[NSImage imageNamed:@"table-small"]]; [(ImageAndTextCell*)aCell setIndentationLevel:1]; + } else { [(ImageAndTextCell*)aCell setImage:nil]; [(ImageAndTextCell*)aCell setIndentationLevel:0]; } } +- (float)tableView:(NSTableView *)tableView heightOfRow:(int)row +{ + if (row == 0) { + return 25; + } else { + return 17; + } +} + //last but not least - (id)init { -- cgit v1.2.3