Added an action to the "File" menu to add the currently opened folder to the "Places" pane.
Also added the shortcut "Ctrl + D" for this action.
BUG: 390757
Added an action to the "File" menu to add the currently opened folder to the "Places" pane.
Also added the shortcut "Ctrl + D" for this action.
BUG: 390757
I tested it with a single tab open, as well as with two, in both cases the currently active "window" is used get the current folder
Lint Skipped |
Unit Tests Skipped |
Dunno how I missed this, sorry!
The keyboard shortcut works, but I can't actually see the new item in the file menu. Also, you need to bump the version on dolphinui.rc.
src/dolphinmainwindow.cpp | ||
---|---|---|
1243 | Please do not use CTRL+D as key binding. In Konsole: it closes the current tab |
src/dolphinmainwindow.cpp | ||
---|---|---|
1243 | I think the idea was to piggyback on the "bookmarks" idea, since places are basically bookmarks in Dolphin. I think it's okay. |
bumped up version in dolphinui
I built and executed it in both the docker environment (plasma:dev-unstable) as well as kde-neon (git-unstable), in both cases the menu item was available. Any ideas as to why it might not show up on your machine @ngraham ?
I see the menu item when I try a new user account, which points to an issue showing it for existing users who already have a config file. I thought that bumping the version on dolphinui.rc would fix that, but apparently it didn't...
The "Add to Places" action is in fact already in the menu, so I don't think this revision is needed anymore.