diff options
author | rowanbeentje <rowan@beent.je> | 2012-10-06 11:48:15 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-10-06 11:48:15 +0000 |
commit | ecb5c70566d1303288e4faf170bda40672a799e1 (patch) | |
tree | 2882fa5fd6f25eed9c754e810785f5834225b95f /Source/SPFavoriteTextFieldCell.h | |
parent | ada181f6fe5b010a5ab56030d16b35e92e58af10 (diff) | |
download | sequelpro-ecb5c70566d1303288e4faf170bda40672a799e1.tar.gz sequelpro-ecb5c70566d1303288e4faf170bda40672a799e1.tar.bz2 sequelpro-ecb5c70566d1303288e4faf170bda40672a799e1.zip |
Change the connection screen interface, particularly relating to favourite editing on the connection screen (Issue #1339, Issue #1440):
- No longer save changes made to connection favourites as soon as the interface is updated
- Alter the interfaace if favourites are editing, offering to save the changes either to the old connection favourite or to a new favourite
- Add a "Test connection" button to verify changes before saving
- Add a "Quick Connect" entry to the top of the connection view's favourites list so a blank form is always available
- Use a custom highlight when editing favourites to show the favourite has changed but is still linked
- Reduce the margin on the left-hand side of the connection favourites list to increase the available space
- Alter favourite name generation, making it less aggressive when generating names from partial details (eg creating names of just "@") and removing the user
- Alter key icon usage to correctly update the button appearance if an SSL or SSH key is selected
Diffstat (limited to 'Source/SPFavoriteTextFieldCell.h')
-rw-r--r-- | Source/SPFavoriteTextFieldCell.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/Source/SPFavoriteTextFieldCell.h b/Source/SPFavoriteTextFieldCell.h index c006c9e7..84bee6ba 100644 --- a/Source/SPFavoriteTextFieldCell.h +++ b/Source/SPFavoriteTextFieldCell.h @@ -34,20 +34,10 @@ @interface SPFavoriteTextFieldCell : ImageAndTextCell { - NSString *favoriteName; - NSString *favoriteHost; - - NSColor *mainStringColor; - NSColor *subStringColor; + BOOL drawsDividerUnderCell; } -- (NSString *)favoriteName; -- (void)setFavoriteName:(NSString *)name; - -- (NSString *)favoriteHost; -- (void)setFavoriteHost:(NSString *)host; - -- (void)invertFontColors; -- (void)restoreFontColors; +- (BOOL)drawsDividerUnderCell; +- (void)setDrawsDividerUnderCell:(BOOL)drawsDivider; @end |