diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-18 00:45:03 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-18 00:45:03 +0000 |
commit | f4957e259b41f2ce4f1eaac6e0f75b82d34995b7 (patch) | |
tree | dbf9bbe3fbe261668a396a2cb772691099a9fbb0 /Source | |
parent | ed3d93c5d420dffa1a9ee64851648396b81bcac9 (diff) | |
download | sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.tar.gz sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.tar.bz2 sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.zip |
Enable the "Sequel Pro" tab style by default, and include the following fixes:
- Fix display of the overflow menu
- Improve tab spacing and internal layout
- Improve tab names for documents to correctly show the database for background documents in additional cases
- Update strings files
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseDocument.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index a36591e8..6b2b22f1 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -3541,11 +3541,13 @@ [tabTitle appendString:[self name]]; } - // If a database is selected, add to the window - and other tabs if host is the same but table is set + // If a database is selected, add to the window - and other tabs if host is the same but db different or table is not set if ([self database]) { [windowTitle appendFormat:@"/%@", [self database]]; if (frontTableDocument == self + || ![frontTableDocument getConnection] || [[frontTableDocument name] isNotEqualTo:[self name]] + || [[frontTableDocument database] isNotEqualTo:[self database]] || ![[self table] length]) { if ([tabTitle length]) [tabTitle appendString:@"/"]; |