]> cloud.milkyroute.net Git - dolphin.git/commit
Make UrlNavigators in the toolbar the only option
authorFelix Ernst <fe.a.ernst@gmail.com>
Sun, 20 Sep 2020 16:53:59 +0000 (18:53 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Mon, 9 Nov 2020 22:49:07 +0000 (23:49 +0100)
commit37327c9b0aae112c5890703cba1f0157043007e0
tree5cda9876f310a258b95226bc0d9681acc665f98e
parent6151a7aec0516570926cb1d15da48936e38e6765
Make UrlNavigators in the toolbar the only option

The UrlNavigators will be automatically added to the toolbar. The Sort By
action is removed from the default toolbar to make space.

Remove all options to have UrlNavigators outside the toolbar and remove
those code paths.

Make it so the new NavigatorsWidgetAction contains two UrlNavigators when
in split view mode. Spacing was also added to align these UrlNavigators
with the ViewContainers when enough space is available.

Force the toolbar to be either at the top or bottom of the window.

Set a sane sizeHint for DolphinUrlNavigator. It would be better to do this
in KUrlNavigator in the future.

This commit also contains a changes which should be moved to a separate
merge requests before this gets merged:
- Add an expansion animation when split view is enabled by the user
18 files changed:
src/CMakeLists.txt
src/dolphinmainwindow.cpp
src/dolphinmainwindow.h
src/dolphinnavigatorswidgetaction.cpp [new file with mode: 0644]
src/dolphinnavigatorswidgetaction.h [new file with mode: 0644]
src/dolphintabpage.cpp
src/dolphintabpage.h
src/dolphintabwidget.cpp
src/dolphintabwidget.h
src/dolphinui.rc
src/dolphinurlnavigator.cpp
src/dolphinurlnavigator.h
src/dolphinviewcontainer.cpp
src/dolphinviewcontainer.h
src/main.cpp
src/settings/dolphin_generalsettings.kcfg
src/views/dolphinurlnavigatorwidgetaction.cpp [deleted file]
src/views/dolphinurlnavigatorwidgetaction.h [deleted file]