┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2021-05-13 16:49:27 +0000
committerNate Graham <[email protected]>2021-05-13 16:49:27 +0000
commit53a778c1ebab4473da8ae7b18fd2f2ac75b9690a (patch)
tree070949ff96d109a090337ba9d95ef4ddd45c8dcc /src/dolphinmainwindow.h
parent4d9ea4261a1f24e299595b897ea790eab1748fe9 (diff)
Re-arrange the contents of the hamburger menu
To improve usability, the entries in the hamburger menu are changed. Maybe the biggest fault of the previous menu contents were that there were too many actions. The new menu contents are composed of all the actions which are necessary to use Dolphin and those which are very useful and should be of interest for most users. Some menu contents change depending on the state of the application. We can be more bold in only showing what really seems necessary because this commit activates the special sub-menu of KHamburgerMenu that helps users discover all further features of Dolphin. The hamburger menu is from now on also added to the context menus in the view when both the menu bar and toolbar are hidden. This allows users to hide both of them and still use all features of Dolphin.
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 3c83b2178..2b8165ea4 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -473,6 +473,11 @@ private Q_SLOTS:
/**
* Updates the menu that is by default at the right end of the toolbar.
+ *
+ * In true "simple by default" fashion, the menu only contains the most important
+ * and necessary actions to be able to use Dolphin. This is supposed to hold true even
+ * if the user does not know how to open a context menu. More advanced actions can be
+ * discovered through a sub-menu (@see KConfigWidgets::KHamburgerMenu::setMenuBarAdvertised()).
*/
void updateHamburgerMenu();