]> cloud.milkyroute.net Git - dolphin.git/commit
Change three view buttons into one with menu arrow
authorAkseli Lahtinen <akselmo@akselmo.dev>
Thu, 30 Jan 2025 09:25:12 +0000 (09:25 +0000)
committerMéven Car <meven@kde.org>
Thu, 30 Jan 2025 09:25:12 +0000 (09:25 +0000)
commit128f797d73ba8118072767cbead7f22590b522db
tree4af2c58870a55e5135fd5ac46ac4abc1f9045c8e
parent82bacf482f8006363b129f023c9c1b9c7082aebc
Change three view buttons into one with menu arrow

Instead of showing three buttons, which is quite visually noisy, show
only one button that is split: First button, when clicked, loops
through the view modes. Second smaller button with the down arrow
shows menu of the available view modes.

See also
https://invent.kde.org/system/dolphin/-/issues/68#toolbar-button-changes

Alternative for https://invent.kde.org/system/dolphin/-/merge_requests/893

![Screencast_20250121_123718](/uploads/e8625c485c58a9c47e8168106b3e7419/Screencast_20250121_123718.mp4)
src/dolphinui.rc
src/tests/dolphinmainwindowtest.cpp
src/views/dolphinviewactionhandler.cpp