diff options
author | avenjamin <avenjamin@gmail.com> | 2008-08-30 17:12:45 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2008-08-30 17:12:45 +0000 |
commit | 50404d84388ed339dc929ac1cbb27aae3a29cb51 (patch) | |
tree | 134df17df4caccf171ed8b8f40ee3c52aacb62ec /TablesList.m | |
parent | 3346039f0a92087d9c45cc8b20ff99fb95f85c38 (diff) | |
download | sequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.tar.gz sequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.tar.bz2 sequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.zip |
• Fixed Credits
• Added grabber images
• Removed small icon of table and replaced with new one
• Added "Checksum Table" to MainMenu
• Added extra splitter grab handles
• Few other bits cleaned up
Diffstat (limited to 'TablesList.m')
-rw-r--r-- | TablesList.m | 15 |
1 files changed, 13 insertions, 2 deletions
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 { |