diff options
| author | Robert Hoffmann <[email protected]> | 2017-09-01 10:15:03 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2017-09-01 10:15:40 +0200 |
| commit | 94fab8c80ed60958043d13145aaf4c54412e052f (patch) | |
| tree | c5ea48b7829e6e100443127eea9420e975207616 /src/panels/folders/treeviewcontextmenu.h | |
| parent | 652f57d28152491c42ad740d2bacd12a12d3d3d7 (diff) | |
Limit folder panel to home directory if inside home
Summary:
Added the option to limit the displayed folders in the folder panel (F7) to the tree below the user's home directory if the current URL is inside the home directory.
This can be configured in the preferences General/Behaviour tab by checking the corresponding check box.
Reviewers: #dolphin, elvisangelaccio, emmanuelp
Reviewed By: #dolphin, elvisangelaccio, emmanuelp
Subscribers: emmanuelp, elvisangelaccio, #konqueror, #dolphin
Differential Revision: https://phabricator.kde.org/D7477
Diffstat (limited to 'src/panels/folders/treeviewcontextmenu.h')
| -rw-r--r-- | src/panels/folders/treeviewcontextmenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panels/folders/treeviewcontextmenu.h b/src/panels/folders/treeviewcontextmenu.h index 598ffaed6..93ddd7aef 100644 --- a/src/panels/folders/treeviewcontextmenu.h +++ b/src/panels/folders/treeviewcontextmenu.h @@ -79,6 +79,12 @@ private slots: void setShowHiddenFiles(bool show); /** + * Sets the 'Limit folders panel to home' setting for the + * folders panel to \a enable. + */ + void setLimitFoldersPanelToHome(bool enable); + + /** * Sets the 'Automatic Scrolling' setting for the * folders panel to \a enable. */ |
