Skip to content

Commit

Permalink
Option to show bookmarks after manually disconnecting. Use `defaults …
Browse files Browse the repository at this point in the history
…write ch.sudo.cyberduck browser.disconnect.showBookmarks true` to enable.
  • Loading branch information
dkocher committed Apr 5, 2009
1 parent e1ac5c8 commit fe86ab8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions source/ch/cyberduck/core/Preferences.java
Expand Up @@ -202,6 +202,8 @@ protected void setDefaults() {
* Confirm closing the browsing connection
*/
defaults.put("browser.confirmDisconnect", String.valueOf(false));
defaults.put("browser.disconnect.showBookmarks", String.valueOf(false));

/**
* Display only one info panel and change information according to selection in browser
*/
Expand Down
4 changes: 3 additions & 1 deletion source/ch/cyberduck/ui/cocoa/CDBrowserController.java
Expand Up @@ -3926,7 +3926,9 @@ public void run() {
}

public void cleanup() {
;
if(Preferences.instance().getBoolean("browser.disconnect.showBookmarks")) {
CDBrowserController.this.toggleBookmarks(true);
}
}

public String getActivity() {
Expand Down

0 comments on commit fe86ab8

Please sign in to comment.