restructure menu bar: use app/account/mailbox/message division
commitd0456c8b1eec445e314ac343e73e666a1b636be4
authorErik Quaeghebeur <trojita@equaeghe.nospammail.net>
Fri, 26 Jan 2018 20:12:54 +0000 (26 21:12 +0100)
committerJan Kundrát <jkt@kde.org>
Thu, 20 Dec 2018 20:23:07 +0000 (20 21:23 +0100)
treeb6d77a03af00de4a30689c46c2582b78563f9b89
parent8f122baa5dca2bb3c180eeb4c5395ebcba23bd35
restructure menu bar: use app/account/mailbox/message division

Currently, Trojitá's menu bar consists of four main menus: IMAP,
View, Mailbox, Help. Apart from View. These names do not cover
many of the actions they contain. This patch attempts to create
a menu structure where the actions are grouped in a more
meaningful way.

Namely, the IMAP and Help menus are removed, and Application,
Account, Message, and Plugins menus are added. The actions in
the old structure are moved into these and the pre-existing
Mailbox menu so as to arrive at a consistent whole.

While the discoverability of actions is improved in this new
structure, it could still be made more consistent. For example,
the Settings action effectively covers settings that are related to
the Application, Account, and Plugin menus. Also, the debugging
functionality is kept grouped under Application, but could
conceivably be distributed over the Application, Account, and
Message menus.

Many actions in the context menus do not appear in the menu
bar menus, while some would also fit there. This has not been
tackled in this patch. The focus here is kept on the restructuring.

Change-Id: Idce348d9e4350867fc888701b7ea51f2006715af
Signed-off-by: Jan Kundrát <jkt@kde.org> (additional reshuffling)
src/Gui/Window.cpp